Skip to main content

interface WebAssembly.MemoryDescriptor

The MemoryDescriptor describes the options you can pass to new WebAssembly.Memory().

Properties #

#initial: number

The initial size of the memory, in units of WebAssembly pages (64KB each).

#maximum: number
optional

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

#shared: boolean
optional

Whether the memory is shared between agents (backed by a SharedArrayBuffer). Defaults to false.

Did you find what you needed?

Privacy policy