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.
External types as defined here.
Instructions as defined here.
Section code as defined here.
Types as defined here.
Either a value type or a function type.
Types that qualify as Wasm function types for validation purposes.
Types that qualify as Wasm global types for validation purposes.
Types that qualify as Wasm memory types for validation purposes.
Types that qualify as Wasm valiation database.
Types that qualify as Wasm table types for validation purposes.
Types that qualify as Wasm types for validation purposes.
Test whether the given buffer contains a valid WebAssembly module, analogous to WebAssembly.validate in the JS API.
Test whether the given buffer contains a valid WebAssembly function. The resources parameter contains all needed data to validate the operators.