May 2011
Intermediate to advanced
1096 pages
40h 54m
English
ArrayBuffer — a fixed-length sequence of bytes
An ArrayBuffer represents a fixed-length sequence of bytes in memory, but it defines no way to get or set those bytes. ArrayBufferViews like the TypedArray classes provide a way to access and interpret the bytes.
newArrayBuffer(unsignedlonglength)
Creates a new ArrayBuffer with the specified number of bytes. All bytes in the new ArrayBuffer are initialized to 0.
readonly unsigned long byteLengththe length, in bytes, of the ArrayBuffer.
Read now
Unlock full access