[][src]Function readfilez::get_file_len

pub fn get_file_len(fh: &File) -> Option<u64>

Returns the length of the file, and is based upon memmap::MmapOptions::get_len(). It doesn't sanitize the fact that mapping a slice greater than isize::MAX has undefined behavoir.