Module wasm::core::reader::types::values

source ·
Expand description

Methods to read basic WASM Values from a WasmReader object.

See: https://webassembly.github.io/spec/core/binary/values.html

Note: If any of these methods return Err, they may have consumed some bytes from the WasmReader object and thus consequent calls may result in unexpected behaviour. This is due to the fact that these methods read elemental types which cannot be split.