execute_cli_hexdump

Function execute_cli_hexdump 

Source
pub fn execute_cli_hexdump<FRead>(
    args: HexDumpArgs,
    read_data: FRead,
) -> Result<Option<Vec<u8>>>
where FRead: Fn(&Path) -> Result<Vec<u8>>,
Expand description

Executes hexdump CLI command logic.

By default outputs in fancy format, or plain with --plain, or xxd with --xxd.