[−][src]Function framed::typed::max_encoded_len
pub fn max_encoded_len<T: Serialize>() -> usize
Returns an upper bound for the encoded length of a frame with a
serialized T
value as its payload.
Useful for calculating an appropriate buffer length.