Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BinaryBuffer

Hierarchy

  • BinaryBuffer

Index

Constructors

Private constructor

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?: undefined | number): void
  • set(array: Uint8Array, offset?: undefined | number): void

slice

  • slice(start?: undefined | number, end?: undefined | number): BinaryBuffer

toString

  • toString(): string

writeUInt32BE

  • writeUInt32BE(value: number, offset: number): void

writeUInt32LE

  • writeUInt32LE(value: number, offset: number): void

writeUInt8

  • writeUInt8(value: number, offset: number): void

Static alloc

Static concat

Static fromString

Static wrap