MemoryDescriptor
package js.lib.webassembly
import js.lib.webassembly.Memory
Available on js
Fields
optionalmaximum:Null<Int>
The maximum size the WebAssembly Memory is allowed to grow to, in units of WebAssembly pages. When present, the maximum
parameter acts as a hint to the engine to reserve memory up front. However, the engine may ignore or clamp this reservation request. In general, most WebAssembly modules shouldn't need to set a maximum
.
initial:Int
The initial size of the WebAssembly Memory, in units of WebAssembly pages.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/webassembly/MemoryDescriptor.html