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

#include <v8.h>

Public Member Functions

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

Friends

class ArrayBuffer
 

Detailed Description

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

The Data pointer of ArrayBuffer::Contents is always allocated with Allocator::Allocate that is set via Isolate::CreateParams.

Definition at line 4284 of file v8.h.

Constructor & Destructor Documentation

Contents ( )
inline

Definition at line 4286 of file v8.h.

References ArrayBuffer::Contents::Contents().

Referenced by ArrayBuffer::Contents::Contents().

Member Function Documentation

void* AllocationBase ( ) const
inline

Definition at line 4293 of file v8.h.

size_t AllocationLength ( ) const
inline

Definition at line 4294 of file v8.h.

Allocator::AllocationMode AllocationMode ( ) const
inline

Definition at line 4295 of file v8.h.

size_t ByteLength ( ) const
inline

Definition at line 4300 of file v8.h.

void* Data ( ) const
inline

Definition at line 4299 of file v8.h.

Friends And Related Function Documentation

friend class ArrayBuffer
friend

Definition at line 4309 of file v8.h.


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