use-wasm-memory
WebAssembly linear memory primitives for RustUse. This crate models page counts, memory limits, shared-memory markers, and page-size conversions.
Example
use ;
let limits = new
.expect;
assert_eq!;
assert_eq!;
Scope
- Wasm page counts and byte conversions.
- Minimum/maximum memory limits and shared marker.
Non-goals
- No memory allocation.
- No runtime memory access.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license