Module move_binary_format::serializer
source · [−]Expand description
Serialization of transactions and modules.
This module exposes two entry points for serialization of CompiledScript
and
CompiledModule
. The entry points are exposed on the main structs CompiledScript
and
CompiledModule
.
Versioning
A note about versioning. The serializer supports writing file_format versions >= v5. The entry points get the version number passed in and generate compatible formats. However, not all of the newer language constructs might be supported for older versions, leading to serialization errors.