execute_cli_hex2bin

Function execute_cli_hex2bin 

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

Executes hex2bin CLI command logic.

Returns Ok(Some(bytes)) if stdout output should be emitted, or Ok(None) if output was written to a destination file.