Function cdr::calc_serialized_size

source ·
pub fn calc_serialized_size<T: ?Sized>(value: &T) -> u64where
    T: Serialize,
Expand description

Returns the size that an object would be if serialized with a encapsulation.