V8
Public Member Functions | Friends | List of all members
v8::ArrayBuffer::Contents Class Reference

#include <v8.h>

Public Member Functions

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.


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