v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
OwnedBuffer Struct Reference

#include <v8-wasm.h>

Public Member Functions

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

Data Fields

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

Detailed Description

An owned byte buffer with associated size.

Definition at line 32 of file v8-wasm.h.

Constructor & Destructor Documentation

◆ OwnedBuffer() [1/2]

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

Definition at line 35 of file v8-wasm.h.

◆ OwnedBuffer() [2/2]

OwnedBuffer ( )
default

Field Documentation

◆ buffer

std::unique_ptr<const uint8_t[]> buffer

Definition at line 33 of file v8-wasm.h.

◆ size

size_t size = 0

Definition at line 34 of file v8-wasm.h.


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