fn.read_binary

Function tauri_api::​file::​read_binary

pub fn read_binary<P: AsRef<Path>>(file: P) -> Result<Vec<u8>>

Reads a binary file.