Common utilities for working with Uint8Array and Buffer objects.

Hierarchy

  • BufferUtils

Constructors

Methods

  • concat(arrays: Uint8Array[]): Uint8Array
  • createBufferFromDataURI(dataURI: string): Uint8Array
  • decodeText(array: Uint8Array): string
  • encodeText(text: string): Uint8Array
  • equals(a: Uint8Array, b: Uint8Array): boolean
  • pad(srcArray: Uint8Array, paddingByte?: number): Uint8Array
  • padNumber(v: number): number
  • toView(a: TypedArray, byteOffset?: number, byteLength?: number): Uint8Array
Function symbol, f(📦) → 📦, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy TypeDoc documentation Copyright 2021 under MIT license