[][src]Function bcder::encode::total_encoded_len

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

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.