pub trait PrettyHex: Sized {
    fn hex_dump(&self) -> Hex<'_, Self>;
    fn hex_conf(&self, cfg: HexConfig) -> Hex<'_, Self>;
}
Expand description

Allows generates hex dumps to a formatter.

Required Methods

Wrap self reference for use in std::fmt::Display and std::fmt::Debug formatting as hex dumps.

Wrap self reference for use in std::fmt::Display and std::fmt::Debug formatting as hex dumps in specified format.

Implementors