SongGuess
    Preparing search index...

    The WebAssembly.Memory object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a WebAssembly.Instance.

    MDN Reference

    interface Memory {
        buffer: ArrayBuffer;
        grow(delta: number): number;
        toFixedLengthBuffer(): ArrayBuffer;
        toResizableBuffer(): ArrayBuffer;
    }
    Index

    Properties

    buffer: ArrayBuffer

    The read-only buffer prototype property of the WebAssembly.Memory object returns the buffer contained in the memory. Depending on whether or not the memory was constructed with shared: true, the buffer is either an ArrayBuffer or a SharedArrayBuffer.

    MDN Reference

    Methods

    • The grow() prototype method of the WebAssembly.Memory object increases the size of the memory instance by a specified number of WebAssembly pages.

      MDN Reference

      Parameters

      • delta: number

      Returns number

    • Returns ArrayBuffer

    • Returns ArrayBuffer