ArrayBuffer backing this buffer _(optional operation)_.
ArrayBuffer backing this buffer _(optional operation)_.
UnsupportedOperationException
If this buffer has no backing ArrayBuffer, i.e., !hasArrayBuffer()
Byte offset in the associated ArrayBuffer _(optional operation)_.
Byte offset in the associated ArrayBuffer _(optional operation)_.
UnsupportedOperationException
If this buffer has no backing ArrayBuffer, i.e., !hasArrayBuffer()
DataView of the backing ArrayBuffer _(optional operation)_.
DataView of the backing ArrayBuffer _(optional operation)_.
The DataView is sliced to the portion of the ArrayBuffer seen by this Buffer.
UnsupportedOperationException
If this buffer has no backing ArrayBuffer, i.e., !hasArrayBuffer()
Tests whether this buffer has a valid associated ArrayBuffer.
Tests whether this buffer has a valid associated ArrayBuffer.
This is true iff the buffer is direct and not read-only.
Tests whether this direct buffer has a valid associated TypedArray.
Tests whether this direct buffer has a valid associated TypedArray.
If this buffer is read-only, returns false.
For read-write buffers:
* Direct Byte buffers always have an associated TypedArray. * Long buffers never do. * Other kinds of direct buffers have an associated TypedArray if and only if their byte order is the native order of the platform.
TypedArray backing this direct buffer _(optional operation)_.
TypedArray backing this direct buffer _(optional operation)_.
The TypedArray is sliced to the portion of the ArrayBuffer seen by this Buffer.
UnsupportedOperationException
If this buffer does not have a backing TypedArray, i.e., !hasTypedArray().
Additional operations on a Buffer with interoperability with JavaScript Typed Arrays.
All Scala.js implementations of Buffer also implement this interface for some TypedArrayType, which depends on the type of elements in the buffer.