Skip to main content

Module functions

Module functions 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Constants§

FORMAT_VERSION
Module format version.
MAGIC_NUMBER
Serialization format identifier.

Functions§

check_bytes_integrity
Check the integrity of serialized module bytes.
check_module_integrity
Check the integrity of a module.
deserialize_module
Deserialize an ExportedModule from bytes produced by serialize_module.
deserialize_module_header
Deserialize only the module header (name, version, declaration count).
diff_modules
Compute the diff between two module versions.
export_environment
Export an environment to a module.
import_module
Import a module into an environment.
serialize_module
Serialize an ExportedModule to a compact binary format.