V8 API Reference Guide generated from the header files
Public Member Functions | Friends
v8::SharedArrayBuffer::Contents Class Reference

#include <v8.h>

Public Member Functions

void * AllocationBase () const
 
size_t AllocationLength () const
 
ArrayBuffer::Allocator::AllocationMode AllocationMode () const
 
void * Data () const
 
size_t ByteLength () const
 

Friends

class SharedArrayBuffer
 

Detailed Description

The contents of an |SharedArrayBuffer|. Externalization of |SharedArrayBuffer| returns an instance of this class, populated, with a pointer to data and byte length.

The Data pointer of SharedArrayBuffer::Contents is always allocated with |ArrayBuffer::Allocator::Allocate| by the allocator specified in v8::Isolate::CreateParams::array_buffer_allocator.

This API is experimental and may change significantly.


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