fn create_snapshot_data_file_stream<P>(
    snapshot_root_file_path: P,
    maximum_file_size: u64
) -> Result<(u64, BufReader<File>)>where
    P: AsRef<Path>,
Expand description

Before running the deserializer function, perform common operations on the snapshot archive files, such as checking the file size and opening the file into a stream.