logo
pub fn encode_to_slice(
    input: &[u8],
    output: &mut [u8],
    encode_table: &[u8; 64]
) -> usize
Available on crate feature base64 only.
Expand description

Encode input bytes to utf8 base64 bytes. Does not pad. output must be long enough to hold the encoded input without padding. Returns the number of bytes written.