interface SharedArrayBuffer {
    byteLength: number;
    slice(begin: number, end?: number): SharedArrayBuffer;
    [species]: SharedArrayBuffer;
    [toStringTag]: "SharedArrayBuffer";
}

Properties

byteLength: number

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

[toStringTag]: "SharedArrayBuffer"

Methods

  • Returns a section of an SharedArrayBuffer.

    Parameters

    • begin: number
    • Optionalend: number

    Returns SharedArrayBuffer