base16ct::lower

Function encode

Source
pub fn encode<'a>(src: &[u8], dst: &'a mut [u8]) -> Result<&'a [u8], Error>
Expand description

Encode the input byte slice as lower Base16.

Writes the result into the provided destination slice, returning an ASCII-encoded lower Base16 (hex) string value.