AdvancedThe size of the buffer in bytes.
The source array buffer.
View on the raw binary data as a Float32Array.
Underlying ArrayBuffer that holds all the data and is of capacity this.size.
The size of the buffer in bytes.
View on the raw binary data as a Uint16Array.
View on the raw binary data as a Uint32Array.
View on the raw binary data as a BigUint64Array.
View on the raw binary data as a Float64Array.
View on the raw binary data as a Int16Array.
View on the raw binary data as a Int32Array.
View on the raw binary data as a Int8Array.
View on the raw binary data as a Uint8Array.
Destroys all buffer references. Do not use after calling this.
Returns the view of the given type.
One of int8, uint8, int16,
uint16, int32, uint32, and float32.
StaticsizeReturns the size of the given type in bytes.
One of int8, uint8, int16,
uint16, int32, uint32, and float32.
Flexible wrapper around
ArrayBufferthat also provides typed array views on demand.