Skip to main content

load_dump_file

Function load_dump_file 

Source
pub fn load_dump_file(
    dump: &str,
    _sbuf: &Metadata,
    other: i32,
    _len: usize,
) -> Option<Vec<u32>>
Expand description

Port of load_dump_file(char *dump, struct stat *sbuf, int other, int len) from Src/parse.c:3675. Reads (or mmap()’s) a complete .zwc file into memory. Returns the u32 buffer or None on I/O error.