Trait ark_serialize::CanonicalSerializeWithFlags[][src]

pub trait CanonicalSerializeWithFlags: CanonicalSerialize {
    fn serialize_with_flags<W: Write, F: Flags>(
        &self,
        writer: W,
        flags: F
    ) -> Result<(), SerializationError>;
fn serialized_size_with_flags<F: Flags>(&self) -> usize; }
Expand description

Serializer in little endian format allowing to encode flags.

Required methods

Serializes self and flags into writer.

Serializes self and flags into writer.

Implementors