Open leofidus opened 2 years ago
The in-memory equivalents of load_file and save_file.
Maybe loading from a &[u8] and saving to a Vec would be better to avoid the conversions between c-strings and rust-strings. Or maybe that could be a future api (load_vec, save_vec). Thoughts?
The in-memory equivalents of load_file and save_file.
Maybe loading from a &[u8] and saving to a Vec would be better to avoid the conversions between c-strings and rust-strings. Or maybe that could be a future api (load_vec, save_vec). Thoughts?