Crate batbox_file

Source
Expand description

Loading files

Since std::fs is not working on the web, use this for consistency

Functionsยง

load
Load a file at given path, returning an async reader as result
load_bytes
Load file as a vec of bytes
load_detect
Load file and deserialize into given type using deserializer based on extension
load_json
Load json file and deserialize into given type
load_string
Load file as a string