Function read_file

Source
pub fn read_file(
    path: &Path,
    limit: usize,
) -> Result<Option<Vec<u8>>, StorageError>
Expand description

Explicit native import/export paths; unlike slots these are chosen by the caller. Reads and atomic replacements are bounded to the save-file ceiling.