Function ser_write_json::base64::decode

source ยท
pub fn decode(slice: &mut [u8]) -> (usize, usize)
Expand description

Decode a BASE-64 encoded slice of byte characters in-place until a first invalid character is found or until the end of the slice.

Return a tuple of: (decoded_len, encoded_len).

decoded_len <= encoded_len <= slice.len()