execute_cli_xxd

Function execute_cli_xxd 

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

Executes xxd CLI command logic.

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