Module units

Source

Structs§

ArchivedPages
An archived Pages
Bytes
Units of WebAssembly memory in terms of 8-bit bytes.
PageCountOutOfRange
The only error that can happen when converting Bytes to Pages
Pages
Units of WebAssembly pages (as specified to be 65,536 bytes).
PagesResolver
The resolver for an archived Pages

Constants§

WASM_MAX_PAGES
The number of pages we can have before we run out of byte index space.
WASM_MIN_PAGES
The minimum number of pages allowed.
WASM_PAGE_SIZE
WebAssembly page sizes are fixed to be 64KiB. Note: large page support may be added in an opt-in manner in the future.