[−][src]Crate wasmparser
A simple event-driven library for parsing WebAssembly binary files (or streams).
The parser library reports events as they happend 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.
Structs
Enums
CustomSectionKind | |
DataKind | |
ElementKind | |
ExternalKind | External types as defined here. |
ImportSectionEntryType | |
LinkingType | |
Name | |
NameEntry | |
NameType | |
Operator | Instructions as defined here. |
ParserInput | |
ParserState | |
RelocType | |
SectionCode | Section code as defined here. |
Type | Types as defined here. |
Traits
SectionReader | |
SectionWithLimitedItems | |
WasmDecoder | |
WasmModuleResources |
Functions
validate | Test whether the given buffer contains a valid WebAssembly module, analogous to WebAssembly.validate in the JS API. |
Type Definitions
Result |