| Name | Type | Description | 
|---|---|---|
| length | number | ArrayBuffer | Uint8Array | The size of the buffer in bytes. | 
Members
View on the raw binary data as a BigUint64Array.
View on the raw binary data as a Float32Array.
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.
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 Uint32Array.
View on the raw binary data as a Uint8Array.
Methods
Returns the size of the given type in bytes.
| Name | Type | Description | 
|---|---|---|
| type | string | One of  | 
Returns:
| Type | Description | 
|---|---|
| number | 
 | 
Destroys all buffer references. Do not use after calling this.
view (type) TypedArray
Returns the view of the given type.
| Name | Type | Description | 
|---|---|---|
| type | string | One of  | 
Returns:
| Type | Description | 
|---|---|
| TypedArray | 
 |