serialized_size

Function serialized_size 

Source
pub fn serialized_size<T>(src: &T) -> WriteResult<u64>
where T: SchemaWrite<Src = T> + ?Sized,
Expand description

Get the size in bytes of the type when serialized.