Function e_utils::algorithm::base64::add_padding

source ยท
pub fn add_padding(input_len: usize, output: &mut [u8]) -> usize
Expand description

Write padding characters. output is the slice where padding should be written, of length at least 2.

Returns the number of padding bytes written.