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 successErr(Error::Length)on length overflow