Function to_bytes

Source
pub async fn to_bytes<I, O>(input: I, output: Option<O>) -> Result<()>
where I: AsRef<Path>, O: AsRef<Path>,
Expand description

Output bytes to stdout/file.

§Errors

If output is None.(Unable to write bytes to stdout.)