Skip to main content

encode64

Function encode64 

Source
pub fn encode64(
    itoa64: &[u8],
    input: &[u8],
    count: usize,
    warn_input: &mut dyn FnMut(usize),
    warn_itoa64: &mut dyn FnMut(usize),
) -> Vec<u8> ⓘ
Expand description

PHPass::encode64($input, $count) with $this->itoa64 as itoa64, for count of at least 1 (the method throws below that). Offsets past the end of input are reported to warn_input, past the end of itoa64 to warn_itoa64.