Function bcs::serialized_size [−][src]
pub fn serialized_size<T: ?Sized>(value: &T) -> Result<usize> where
    T: Serialize, Expand description
Same as to_bytes but only return the size of the serialized bytes.
pub fn serialized_size<T: ?Sized>(value: &T) -> Result<usize> where
    T: Serialize, Same as to_bytes but only return the size of the serialized bytes.