Crate batbox_file
source ·Expand description
Loading files
Since std::fs is not working on the web, use this for consistency
Functions
- Load a file at given path, returning an async reader as result
 - Load file as a vec of bytes
 - Load file and deserialize into given type using deserializer based on extension
 - Load json file and deserialize into given type
 - Load file as a string