Name Description Size Coverage
arity.rs 11311 -
binary_reader.rs 87282 -
collections -
error.rs 3672 -
features.rs 22436 -
lib.rs A simple event-driven library for parsing WebAssembly binary files (or streams). The parser library reports events as they happen and only stores parsing information for a brief period of time, making it very fast and memory-efficient. The event-driven model, however, has some drawbacks. If you need random access to the entire WebAssembly data-structure, this is not the right library for you. You could however, build such a data-structure using this library. To get started, create a [`Parser`] using [`Parser::new`] and then follow the examples documented for [`Parser::parse`] or [`Parser::parse_all`]. 75770 -
limits.rs 4394 -
offsets.rs Logical offsets into the input wasm file are strictly limited to fit into an integer of type [u64]. Data in each chunk is addressed through an offset into an `[u8]` slice, which uses `usize`-addressing. This module contains functionality to bridge the gap. 2382 -
parser.rs 78835 -
readers -
readers.rs 9542 -
resources.rs 8420 -
validator -
validator.rs 59645 -