神岛 API 文档 - ArenaPro版
    Preparing search index...

    WebAssembly.Memory 的描述符对象。

    The descriptor object for a WebAssembly.Memory.

    interface MemoryDescriptor {
        initial: number;
        maximum?: number;
        shared?: boolean;
    }
    Index

    Properties

    initial: number

    内存的初始大小,单位为 WebAssembly 页面。

    The initial size of the memory, in WebAssembly pages.

    maximum?: number

    允许内存增长到的最大大小,单位为 WebAssembly 页面。

    The maximum size the memory is allowed to grow to, in WebAssembly pages.

    shared?: boolean

    一个布尔值,定义内存是否为共享内存。

    A boolean that defines whether the memory is a shared memory.