Function base64ct::url::unpadded::encode[][src]

pub fn encode<'a>(
    src: &[u8],
    dst: &'a mut [u8]
) -> Result<&'a str, InvalidLengthError>

Encode the input byte slice as URL-safe Base64 with padding.

Writes the result into the provided destination slice, returning an ASCII-encoded Base64 string value.