v8  3.28.71(node0.12.18)
V8 is Google's open source JavaScript engine
ArrayBuffer::Contents Class Reference

#include <v8.h>

Public Member Functions

 Contents ()
void * Data () const
size_t ByteLength () const


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 2712 of file v8.h.

Constructor & Destructor Documentation

Contents ( )

Definition at line 2714 of file v8.h.

Member Function Documentation

size_t ByteLength ( ) const

Definition at line 2717 of file v8.h.

void* Data ( ) const

Definition at line 2716 of file v8.h.

Friends And Related Function Documentation

friend class ArrayBuffer

Definition at line 2723 of file v8.h.

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