Function pem_rfc7468::encoded_len 
source · pub fn encoded_len(
    label: &str,
    line_ending: LineEnding,
    input: &[u8],
) -> Result<usize>Expand description
Get the length of a PEM encoded document with the given bytes and label.
This function computes a precise length of the PEM encoding of the given
input data.
§Returns
- Ok(len)on success
- Err(Error::Length)on length overflow