Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
v8::OwnedBuffer Struct Reference

#include <v8-wasm.h>

Collaboration diagram for v8::OwnedBuffer:
[legend]

Public Member Functions

 OwnedBuffer (std::unique_ptr< const uint8_t[]> buffer, size_t size)
 
 OwnedBuffer ()=default
 

Public Attributes

std::unique_ptr< const uint8_t[]> buffer
 
size_t size = 0
 

Detailed Description

An owned byte buffer with associated size.

Constructor & Destructor Documentation

◆ OwnedBuffer() [1/2]

v8::OwnedBuffer::OwnedBuffer ( std::unique_ptr< const uint8_t[]>  buffer,
size_t  size 
)
inline

◆ OwnedBuffer() [2/2]

v8::OwnedBuffer::OwnedBuffer ( )
default

Member Data Documentation

◆ buffer

std::unique_ptr<const uint8_t[]> v8::OwnedBuffer::buffer

◆ size

size_t v8::OwnedBuffer::size = 0

The documentation for this struct was generated from the following file: