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

Properties

[toStringTag]: "SharedArrayBuffer"
byteLength: number

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

Methods

  • Returns a section of an SharedArrayBuffer.

    Parameters

    • begin: number
    • Optional end: number

    Returns SharedArrayBuffer