Function abomonation::measure
source · pub fn measure<T: Abomonation>(typed: &T) -> usize
Expand description
Reports the number of bytes required to encode self
.
§Safety
The measure
method is safe. It neither produces nor consults serialized representations.