Function cobs::max_encoding_length
source ยท pub fn max_encoding_length(source_len: usize) -> usize
Expand description
Calculates the maximum possible size of an encoded message given the length
of the source message. This may be useful for calculating how large the
dest
buffer needs to be in the encoding functions.