Skip to main content

deserialize_module

Function deserialize_module 

Source
pub fn deserialize_module(bytes: &[u8]) -> Result<ExportedModule, String>
Expand description

Deserialize an ExportedModule from bytes produced by serialize_module.

Returns an error if the bytes are malformed, truncated, or have an incompatible format version.