Function firefly_rust::data::load_buf
source · pub fn load_buf(name: &str) -> FileBuf
Expand description
Read the whole file with the given name from the data dir.
If you have a pre-allocated buffer of the right size, use load instead.