v8  5.5.372(node7.10.1)
V8 is Google's open source JavaScript engine
SharedArrayBuffer::Contents Class Reference

#include <v8.h>

Public Member Functions

 Contents ()
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 4349 of file v8.h.

Constructor & Destructor Documentation

Contents ( )

Definition at line 4351 of file v8.h.

Member Function Documentation

size_t ByteLength ( ) const

Definition at line 4354 of file v8.h.

void* Data ( ) const

Definition at line 4353 of file v8.h.

Friends And Related Function Documentation

friend class SharedArrayBuffer

Definition at line 4360 of file v8.h.

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