Wax_wasm.MiscSourceMiscellaneous utilities for validating Wasm values.
Checks if string s represents a valid 8-bit integer.
Checks if string s represents a valid 16-bit integer.
Checks if string s represents a valid 32-bit integer.
Checks if string s represents a valid 64-bit integer.
Checks if string s represents a valid 32-bit float.
Checks if string s represents a valid 64-bit float.
encode_scalar ty s is the little-endian byte encoding of the numeric literal s at scalar type ty (two's complement / IEEE-754).
The raw bytes of a data segment's contents (WAT numeric-values proposal): each element encoded little-endian and concatenated.
The byte length of a data segment's contents, without materializing it.