v8  6.1.534(node8.9.3)
V8 is Google's open source JavaScript engine
SharedArrayBuffer::Contents Class Reference

#include <v8.h>

Public Member Functions

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


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.

Definition at line 4654 of file v8.h.

Constructor & Destructor Documentation

Contents ( )

Definition at line 4656 of file v8.h.

References SharedArrayBuffer::Contents::Contents().

Referenced by SharedArrayBuffer::Contents::Contents().

Member Function Documentation

void* AllocationBase ( ) const

Definition at line 4663 of file v8.h.

size_t AllocationLength ( ) const

Definition at line 4664 of file v8.h.

ArrayBuffer::Allocator::AllocationMode AllocationMode ( ) const

Definition at line 4665 of file v8.h.

size_t ByteLength ( ) const

Definition at line 4670 of file v8.h.

void* Data ( ) const

Definition at line 4669 of file v8.h.

Friends And Related Function Documentation

friend class SharedArrayBuffer

Definition at line 4679 of file v8.h.

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