Properties
Readonly buffer
buffer: Uint8Array
Readonly byteLength
byteLength: number
Methods
readUInt32BE
- readUInt32BE(offset: number): number
readUInt32LE
- readUInt32LE(offset: number): number
readUInt8
- readUInt8(offset: number): number
set
- set(array: BinaryBuffer, offset?: number): void
- set(array: Uint8Array, offset?: number): void
Parameters
Returns void
Parameters
array: Uint8Array
Optional offset: number
Returns void
slice
Parameters
Optional start: number
Optional end: number
writeUInt32BE
- writeUInt32BE(value: number, offset: number): void
Parameters
value: number
offset: number
Returns void
writeUInt32LE
- writeUInt32LE(value: number, offset: number): void
Parameters
value: number
offset: number
Returns void
writeUInt8
- writeUInt8(value: number, offset: number): void
Parameters
value: number
offset: number
Returns void
Static concat
Parameters
Optional totalLength: number