v8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Friends | List of all members
v8::SharedArrayBuffer::Contents Class Reference

#include <v8.h>

Public Member Functions

 Contents ()
 
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.

Constructor & Destructor Documentation

v8::SharedArrayBuffer::Contents::Contents ( )
inline

Member Function Documentation

size_t v8::SharedArrayBuffer::Contents::ByteLength ( ) const
inline
void* v8::SharedArrayBuffer::Contents::Data ( ) const
inline

Friends And Related Function Documentation

friend class SharedArrayBuffer
friend

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