Function egui_resources::read_bytes
source ยท pub fn read_bytes(f: &str, p: bool) -> Result<Vec<u8>, Box<dyn Error>>Expand description
read bytes
- f: &str filename
- p: bool (true: ./resources false: full path)
- result: Result Vec u8
pub fn read_bytes(f: &str, p: bool) -> Result<Vec<u8>, Box<dyn Error>>read bytes