[][src]Module snarkos_utilities::serialize

Re-exports

pub use crate::bytes::FromBytes;
pub use crate::bytes::ToBytes;

Modules

io

Traits, helpers, and type definitions for core I/O functionality.

Structs

EmptyFlags

Flags to be encoded into the serialization.

Vec

A contiguous growable array type, written Vec<T> but pronounced 'vector'.

Enums

EdwardsFlags

Flags to be encoded into the serialization. The default flags (empty) should not change the binary representation.

SWFlags

Flags to be encoded into the serialization. The default flags (empty) should not change the binary representation.

Traits

CanonicalDeserialize

Deserializer in little endian format. This trait can be derived if all fields of a struct implement CanonicalDeserialize and the derive feature is enabled.

CanonicalDeserializeWithFlags

Deserializer in little endian format allowing flags to be encoded.

CanonicalSerialize

Serializer in little endian format. This trait can be derived if all fields of a struct implement CanonicalSerialize and the derive feature is enabled.

CanonicalSerializeWithFlags

Serializer in little endian format allowing to encode flags.

ConstantSerializedSize

Helper trait to get serialized size for constant sized structs.

Flags
Read

The Read trait allows for reading bytes from a source.

Write

A trait for objects which are byte-oriented sinks.

Functions

buffer_bit_byte_size
buffer_byte_size

Derive Macros

CanonicalDeserialize
CanonicalSerialize