pub fn encode(pem: &Pem) -> String
Encode a PEM struct into a PEM-encoded data string
use pem::{Pem, encode}; let pem = Pem::new("FOO", [1, 2, 3, 4]); encode(&pem);