Skip to main content

serialized_size

Function serialized_size 

Source
pub fn serialized_size<T: NsonSerialize + ?Sized>(value: &T) -> Result<u64>
Expand description

Computes the exact serialized byte count without allocating an output buffer.