pub fn total_encoded_len(tag: Tag, content_l: usize) -> usize
Expand description

Returns the length for a structure based on the tag and content length.

This is necessary because the length octets have a different length depending on the content length.