Wasm Package
Implementation of the WrapPackage interface for Wasm Wrap packages
Parameters
file Reader
A FileReader instance used to read the package files, including the Wasm module and WRAP manifest
Constructors
Link copied to clipboard
Creates a new WasmPackage instance with the given manifest buffer and wasm module buffer.
Creates a new WasmPackage instance with the given manifest buffer and file reader.
Creates a new WasmPackage instance with the given wasm module and file reader.
Functions
Link copied to clipboard
Construct an instance of the package's Wasm Wrapper
Link copied to clipboard
Produce an instance of the WrapPackage's WRAP manifest
Link copied to clipboard
Reads the Wasm module from the Wrap package using the provided FileReader, and returns the module bytes