IDataBuffer

Interface for a data buffer

Hierarchy

  • IDataBuffer

Index

Properties

Methods

Properties

byteLength

Find examples in Playground
byteLength: number

The byte length of the buffer.

Methods

readAsync

Find examples in Playground
  • 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

Generated using TypeDoc