Function firefly_rust::data::load_buf

source ยท
pub fn load_buf(name: &str) -> Option<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.

None is returned if the file does not exist.