encode_to_slice

Function encode_to_slice 

Source
pub fn encode_to_slice(
    input: &[u8],
    output: &mut [u8],
    encode_table: &[u8; 64],
) -> usize
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.