Function g60::encode_in_slice

source ·
pub fn encode_in_slice(
    content: &[u8],
    slice: &mut [u8]
) -> Result<usize, EncodingError>
Expand description

Encodes a list of bytes into a G60 encoding format. 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 encoded string.