Executable formats
WebAssembly memory limits
Encode Core 1.0 minimum and optional maximum memory-page limits.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Emit flag 0 or 1, then unsigned LEB128 page counts. Each memory page is 65536 bytes.
Minimum 1 and maximum 2 pages encode as 01 01 02.
Limits
Core 1.0 unshared 32-bit memory only. Shared memory, memory64, import/export records and module validation are excluded.