v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ArrayBuffer::Contents Class Reference

#include <v8.h>

Public Member Functions

 Contents ()
 
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 with V8::SetArrayBufferAllocator.

This API is experimental and may change significantly.

Definition at line 2776 of file v8.h.

Constructor & Destructor Documentation

Contents ( )
inline

Definition at line 2778 of file v8.h.

Member Function Documentation

size_t ByteLength ( ) const
inline

Definition at line 2781 of file v8.h.

Referenced by ScopedArrayBufferContents::ByteLength().

void* Data ( ) const
inline

Friends And Related Function Documentation

friend class ArrayBuffer
friend

Definition at line 2787 of file v8.h.


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