CliBin2HexArgs

Type Alias CliBin2HexArgs 

Source
pub type CliBin2HexArgs = Bin2HexArgs;

Aliased Type§

pub struct CliBin2HexArgs {
    pub value: Option<String>,
    pub file: Option<PathBuf>,
    pub output: Option<PathBuf>,
    pub hd: bool,
    pub hf: bool,
    pub xxd: bool,
}

Fields§

§value: Option<String>

Data to convert. If not provided, reads from stdin or file.

§file: Option<PathBuf>

Input file path (or - for stdin)

§output: Option<PathBuf>

Output file path (or - for stdout)

§hd: bool

Output in classic hex dump format

§hf: bool

Output in fancy hex dump format

§xxd: bool

Output in xxd hex dump format