Std.Pem.encode
1 declaration
fn
encode: &Std.Pem.Block -> Result[Str, Std.Pem.PemError]A block written as armored text: a BEGIN line, the base64 body wrapped at sixty-four columns, an END line, each ending in a newline.
A label that could not be read back is refused rather than written, since text that decode rejects is not an encoding of anything.
