base16ct::upper

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 upper Base16.

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