v8  6.7.288(node10.6.0)
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 4758 of file v8.h.

Constructor & Destructor Documentation

Contents ( )

Definition at line 4760 of file v8.h.

References SharedArrayBuffer::Contents::Contents().

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

Member Function Documentation

void* AllocationBase ( ) const

Definition at line 4767 of file v8.h.

size_t AllocationLength ( ) const

Definition at line 4768 of file v8.h.

ArrayBuffer::Allocator::AllocationMode AllocationMode ( ) const

Definition at line 4769 of file v8.h.

size_t ByteLength ( ) const

Definition at line 4774 of file v8.h.

void* Data ( ) const

Definition at line 4773 of file v8.h.

Friends And Related Function Documentation

friend class SharedArrayBuffer

Definition at line 4783 of file v8.h.

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