Skip to main content

encode

Function encode 

Source
pub fn encode(label: &str, bytes: &[u8]) -> String
Expand description

Encodes bytes as a PEM block labelled label, with 64-character lines and LF line endings, ending in a newline.