pub fn encode_to_slice<'a, T: ?Sized + AsRef<[u8]>>(
    input: &T,
    output: &'a mut [u8]
) -> &'a [u8]Notable traits for &'_ mut [u8]impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
Expand description

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