Function e_utils::algorithm::base64::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.