Interface ArrayBuffer

    interface ArrayBuffer {
        [toStringTag]: string;
        byteLength: number;
        slice(begin: number, end?: number): ArrayBuffer;
    }

    Properties

    Methods

    Properties

    [toStringTag]: string
    byteLength: number

    Read-only. The length of the ArrayBuffer (in bytes).

    Methods

    • Returns a section of an ArrayBuffer.

      Parameters

      • begin: number
      • Optionalend: number

      Returns ArrayBuffer