pem_rfc7468

Function detect_base64_line_width

source
pub fn detect_base64_line_width(pem: &[u8]) -> Result<usize>
Expand description

Attempt to detect the Base64 line width for the given PEM document.

NOTE: not constant time with respect to the input.