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
fn serialize_with_flags<W: Write, F: Flags>(
&self,
writer: W,
flags: F
) -> Result<(), SerializationError>
[src]
fn serialize_with_flags<W: Write, F: Flags>(
&self,
writer: W,
flags: F
) -> Result<(), SerializationError>
[src]Serializes self
and flags
into writer
.
fn serialized_size_with_flags<F: Flags>(&self) -> usize
[src]
fn serialized_size_with_flags<F: Flags>(&self) -> usize
[src]Serializes self
and flags
into writer
.