Interface SharedArrayBuffer

interface SharedArrayBuffer {
    [species]: SharedArrayBuffer;
    [toStringTag]: "SharedArrayBuffer";
    byteLength: number;
    slice(begin: number, end?: number): 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
    • Optionalend: number

    Returns SharedArrayBuffer