Expand description
Serialization formats we consider using for the bytecode and the witness stack.
EnumsΒ§
- Format
- A marker byte for the serialization format.
ConstantsΒ§
- FORMAT_
ENV_ πVAR
FunctionsΒ§
- deserialize_
any_ πformat - Deserialize any of the supported formats.
- msgpack_
deserialize π - Deserialize a value using MessagePack, based on
serde. - msgpack_
serialize π - Serialize a value using MessagePack, based on
serde. - msgpack_
tagged_ πserialize_ acir - Serialize a value through the
msgpack_taggedwrapper with the ACIR policy applied: by default everything reachable fromvaluerides onEncodingStrategy::Array(the compact positional shape), and the top-level container types (Program,Circuit,BrilligBytecode) flip toEncodingStrategy::Taggedso they stay schema-evolvable. The overrides usewith_strategy_for_name, which never asserts on a registry miss β so the same call works whenvaluedoesnβt reach any of those containers (e.g. aWitnessMapor a bare leaf type): unreachable names get a stray override entry thatβs never looked up at encode time. - serialize_
with_ πformat