Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDataBuffer

Interface for a data buffer

Hierarchy

  • IDataBuffer

Index

Properties

Methods

Properties

Readonly byteLengthSearch playground for byteLength

byteLength: number

The byte length of the buffer.

Methods

readAsyncSearch playground for readAsync

  • readAsync(byteOffset: number, byteLength: number): Promise<ArrayBufferView>
  • Reads bytes from the data buffer.

    Parameters

    • byteOffset: number

      The byte offset to read

    • byteLength: number

      The byte length to read

    Returns Promise<ArrayBufferView>

    A promise that resolves when the bytes are read

Legend

  • Property
  • Method
  • Constructor
  • Property
  • Static method