write_hex

Macro write_hex 

Source
macro_rules! write_hex {
    ($dst:expr, $data:expr) => { ... };
}
Expand description

Writes a byte slice in hexadecimal format to a fmt::Write target.

§Example

let buf = [0x12, 0xAB, 0xFF];
write_hex!(logger, &buf);