Trait nom::HexDisplay [] [src]

pub trait HexDisplay {
    fn offset(&self, second: &[u8]) -> usize;
    fn to_hex(&self, chunk_size: usize) -> String;
    fn to_hex_from(&self, chunk_size: usize, from: usize) -> String;
}

Required Methods

fn offset(&self, second: &[u8]) -> usize

fn to_hex(&self, chunk_size: usize) -> String

Converts the value of self to a hex value, returning the owned string.

fn to_hex_from(&self, chunk_size: usize, from: usize) -> String

Implementors