pub fn b64encode<'a>(
input: &[u8],
output: &'a mut [u8]
) -> Result<&'a mut [u8], ConvertError>
Expand description
Base64 Encoder - Converts data to a base64 encoded string.
Failures
This function will return Err(ConvertError::InvalidOutputLength)
if output
’s length isn’t at least input.len()
* 4 /3.