Skip to main content

write_binary_output

Function write_binary_output 

Source
pub fn write_binary_output(
    content: &[u8],
    dest: &OutputDestination,
) -> Result<()>
Expand description

Writes binary content to the specified destination.

  • Stdout: Writes raw bytes to stdout
  • File: Writes to the file (overwriting)