Readonly
[toReadonly
bufferReadonly
byteReadonly
byteGets the BigInt64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the BigUint64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the Float32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the Float64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the Int16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the Int32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the Int8 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Gets the Uint16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the Uint32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be read.
Gets the Uint8 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
The place in the buffer at which the value should be retrieved.
Stores a BigInt64 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores a BigUint64 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores an Float32 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores an Float64 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores an Int16 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores an Int32 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores an Int8 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Stores an Uint16 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores an Uint32 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Optional
littleEndian: booleanIf false or undefined, a big-endian value should be written.
Optional
littleEndian: booleanStores an Uint8 value at the specified byte offset from the start of the view.
The place in the buffer at which the value should be set.
The value to set.
Zh
提供对 ArrayBuffer 的低级接口,用于读取和写入多种数字类型。
En
Provides a low-level interface for reading and writing multiple number types in an ArrayBuffer.