Skip to main content

read_bytes

Function read_bytes 

Source
pub async fn read_bytes<P: AsRef<Path>>(path: P) -> Result<Vec<u8>, String>
Expand description

Read an entire file as bytes (async).