Function pem_rfc7468::encode
source · pub fn encode<'o>(
type_label: &str,
line_ending: LineEnding,
input: &[u8],
buf: &'o mut [u8],
) -> Result<&'o str>
Expand description
Encode a PEM document according to RFC 7468’s “Strict” grammar.