fn calc_pos(cur_pos: u64, nar_size: u64, seek_from: SeekFrom) -> Result<u64>
For a given nar_size and current position, returns the position that seek_from would seek to.