# ArrayBuffer
A fixed-length raw binary buffer.
The ArrayBuffer API is exactly as in JavaScript (MDN (opens new window)).
# Constructor
- Constructs a new buffer of the given length in bytes.
new ArrayBuffer(length: i32)
# Static members
- Returns true if
function isView<T>(value: T): bool
value
is one of the buffer views, such as one of the typed arrays or a DataView.
# Instance members
# Fields
- The buffer's length, in bytes.
readonly byteLength: i32
# Methods
function slice(begin?: i32, end?: i32): ArrayBuffer
Returns a copy of this buffer from begin, inclusive, up to end, exclusive.
function toString(): string
Returns a string representation of this buffer.