pub fn encode(input: &[u8], output: &mut [u8]) -> Result<usize>Expand description
Encode input as base64 into the output_buffer.
Returns the number of bytes written to output_buffer on success or
Error::OutOfRange if output_buffer is not large enough.