pub fn encode_to_string(data: impl AsRef<[u8]>, case: AsciiCase) -> String
alloc
Encodes bytes to a hex string.