Skip to main content

Crate midnight_serialize

Crate midnight_serialize 

Source

Macros§

encoding_shape_as
Implements EncodingShape for a type by delegating to a shape type.
tag_enforcement_test

Structs§

ScaleBigInt

Enums§

ScaleState
A position in the shape of a canonical SCALE compact integer.
SeqState
A position in a pair’s shape.

Constants§

GLOBAL_TAG
RECURSION_LIMIT

Traits§

Deserializable
EncodingShape
The byte strings that crate::Deserializable::deserialize reads in full, as a finite automaton over bytes.
ReadExt
Serializable
Binary serialization with embedded versioning.
Tagged
A type that implements Tagged can be described by a fixed type string.
VecExt

Functions§

gen_static_serialize_file
peek_tag
Attempts to identify the tag a stream starts with without consuming it, allowing determining a stream’s type before deserializing it.
tagged_deserialize
tagged_deserialize_sequence
tagged_serialize
tagged_serialized_size
test_file_deserialize

Derive Macros§

Serializable