[][src]Function base64_url::decode_to_slice

pub fn decode_to_slice<'a, T: ?Sized + AsRef<[u8]>>(
    input: &T,
    output: &'a mut [u8]
) -> Result<&'a [u8], DecodeError>

Decode a Base64-URL string to data into a slice and return the slice with a valid length.