v8
8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Types | |
using | DeleterCallback = void(*)(void *buffer, size_t length, void *info) |
Public Member Functions | |
Contents () | |
void * | AllocationBase () const |
size_t | AllocationLength () const |
Allocator::AllocationMode | AllocationMode () const |
void * | Data () const |
size_t | ByteLength () const |
DeleterCallback | Deleter () const |
void * | DeleterData () const |
Friends | |
class | ArrayBuffer |
The contents of an |ArrayBuffer|. Externalization of |ArrayBuffer| returns an instance of this class, populated, with a pointer to data and byte length.
The Data pointer of ArrayBuffer::Contents must be freed using the provided deleter, which will call ArrayBuffer::Allocator::Free if the buffer was allocated with ArraryBuffer::Allocator::Allocate.
using DeleterCallback = void (*)(void* buffer, size_t length, void* info) |
|
inline |
Definition at line 5149 of file v8.h.
References ArrayBuffer::Allocator::kNormal.
|
inline |
|
inline |
|
friend |