from_input_to_bytes

Function from_input_to_bytes 

Source
pub fn from_input_to_bytes(input: Option<&Uri>) -> Result<Vec<u8>>
Expand description

Reads data from a file path or from stdin if the path is not provided.

ยงErrors

Returns a std::io::Error on failure.