Trait HexDisplay
pub trait HexDisplay
Helper trait to show a byte slice as a hex dump
Required Methods
fn to_hex(&self, chunk_size: usize) -> StringConverts the value of
selfto a hex dump, returning the ownedString.fn to_hex_from(&self, chunk_size: usize, from: usize) -> StringConverts the value of
selfto a hex dump beginning atfromaddress, returning the ownedString.
Implementors
impl HexDisplay for [u8]impl HexDisplay for str