bytes_to_hex

Function bytes_to_hex 

Source
pub fn bytes_to_hex(b: &[u8]) -> String
Expand description

Converts a byte slice to a hexadecimal string.

§Arguments

  • b: A byte slice.

§Returns

The hexadecimal string representation of the byte slice.