Skip to main content

read_bytes

Function read_bytes 

Source
pub fn read_bytes(
    root: &Path,
    relative: &str,
    what: &'static str,
) -> Result<Vec<u8>, RealFlightError>
Expand description

The bytes of the file at relative under root, what naming why it is read.

§Errors

RealFlightError if it can’t be read.