Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
v8::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.

Constructor & Destructor Documentation

◆ Contents()

v8::ArrayBuffer::Contents::Contents ( )
inline

Member Function Documentation

◆ AllocationBase()

void * v8::ArrayBuffer::Contents::AllocationBase ( ) const
inline

◆ AllocationLength()

size_t v8::ArrayBuffer::Contents::AllocationLength ( ) const
inline

◆ AllocationMode()

Allocator::AllocationMode v8::ArrayBuffer::Contents::AllocationMode ( ) const
inline

◆ ByteLength()

size_t v8::ArrayBuffer::Contents::ByteLength ( ) const
inline

◆ Data()

void * v8::ArrayBuffer::Contents::Data ( ) const
inline

Friends And Related Function Documentation

◆ ArrayBuffer

friend class ArrayBuffer
friend

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