Function g60::decode_in_slice
source · pub fn decode_in_slice(
encoded: &str,
slice: &mut [u8]
) -> Result<usize, DecodingError>
Expand description
Decodes a G60 encoded string.
The result is placed into slice
and returns the number of elements written.
Errors
An error will be thrown if slice
does not have enough space to store the decoded string.