Function zlo::serialized_size [] [src]

pub fn serialized_size<T: ?Sized>(value: &T) -> u64 where
    T: Serialize

Returns the size that an object would be if serialized using zlo.

It can be useful for preallocating buffers if thats your style.