Function framed::max_encoded_len [] [src]

pub fn max_encoded_len(payload_len: usize) -> Result<usize>

Returns the maximum possible encoded length for a frame with the payload length supplied.