Skip to main content

load_file_bytes

Function load_file_bytes 

Source
pub fn load_file_bytes(path: &Path) -> Result<Vec<u8>, String>
Expand description

Load a file synchronously from disk, returning its bytes.

Used internally; also exposed for simple file utilities.