Common utilities for working with ArrayBuffer and Buffer objects.

Hierarchy

  • BufferUtils

Methods

  • concat(buffers: ArrayBuffer[]): ArrayBuffer
  • createBufferFromDataURI(dataURI: string): ArrayBuffer
  • decodeText(buffer: ArrayBuffer): string
  • encodeText(text: string): ArrayBuffer
  • equals(a: ArrayBuffer, b: ArrayBuffer): boolean
  • pad(arrayBuffer: ArrayBuffer, paddingByte?: number): ArrayBuffer
  • padNumber(v: number): number
  • trim(buffer: Buffer): ArrayBuffer
Function symbol, f(📦) → 📦, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy TypeDoc documentation Copyright 2020 under MIT license