A sequence of bytes underlying a typed data object. Used to process large quantities of binary or numerical data more efficiently using a typed view.
Properties
- lengthInBytes → int
-
read-only
Returns the length of this byte buffer, in bytes.
Constructors
Methods
-
asByteData(
[int offsetInBytes = 0, int length]) → ByteData -
Creates a new ByteData view of this buffer.
-
asFloat32List(
[int offsetInBytes = 0, int length]) → Float32List -
Creates a new Float32List view of this buffer.
-
asFloat32x4List(
[int offsetInBytes = 0, int length]) → Float32x4List -
Creates a new Float32x4List view of this buffer.
-
asFloat64List(
[int offsetInBytes = 0, int length]) → Float64List -
Creates a new Float64List view of this buffer.
-
asFloat64x2List(
[int offsetInBytes = 0, int length]) → Float64x2List -
Creates a new Float64x2List view of this buffer.
-
asInt16List(
[int offsetInBytes = 0, int length]) → Int16List -
Creates a new Int16List view of this buffer.
-
asInt32List(
[int offsetInBytes = 0, int length]) → Int32List -
Creates a new Int32List view of this buffer.
-
asInt32x4List(
[int offsetInBytes = 0, int length]) → Int32x4List -
Creates a new Int32x4List view of this buffer.
-
asInt64List(
[int offsetInBytes = 0, int length]) → Int64List -
Creates a new Int64List view of this buffer.
-
asInt8List(
[int offsetInBytes = 0, int length]) → Int8List -
Creates a new Int8List view of this buffer.
-
asUint16List(
[int offsetInBytes = 0, int length]) → Uint16List -
Creates a new Uint16List view of this buffer.
-
asUint32List(
[int offsetInBytes = 0, int length]) → Uint32List -
Creates a new Uint32List view of this buffer.
-
asUint64List(
[int offsetInBytes = 0, int length]) → Uint64List -
Creates a new Uint64List view of this buffer.
-
asUint8ClampedList(
[int offsetInBytes = 0, int length]) → Uint8ClampedList -
Creates a new
Uint8Clamped
view of this buffer. -
asUint8List(
[int offsetInBytes = 0, int length]) → Uint8List -
Creates a new Uint8List view of this buffer.