code: def _GetMemberForOffset(self, offset):
      
      if offset < 0 or offset >= self.uncompressed_data_size:
        raise ValueError('Offset {0:d} is larger than file size {1:d}.'.format(
            offset, self.uncompressed_data_size))
  
      for end_offset, member in iter(self._members_by_end_offset.items()):
        if offset < end_offset:
          return member
  
      return None
docs: Finds the member whose data includes the provided offset.
  
      Args:
        offset (int): offset in the uncompressed data to find the
            containing member for.
  
      Returns:
        gzipfile.GzipMember: gzip file member or None if not available.
  
      Raises:
        ValueError: if the provided offset is outside of the bounds of the
            uncompressed data.