v8  8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
OwnedBuffer Struct Reference

#include <v8.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 4792 of file v8.h.

Constructor & Destructor Documentation

◆ OwnedBuffer() [1/2]

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

Definition at line 4795 of file v8.h.

References OwnedBuffer::buffer, and OwnedBuffer::size.

◆ OwnedBuffer() [2/2]

OwnedBuffer ( )

Field Documentation

◆ buffer

std::unique_ptr<const uint8_t[]> buffer

Definition at line 4793 of file v8.h.

Referenced by OwnedBuffer::OwnedBuffer().

◆ size

size_t size = 0

Definition at line 4794 of file v8.h.

Referenced by OwnedBuffer::OwnedBuffer().

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