code: def _read_offset_value(self, f, offset, size):
          '''
          Reads an integer value from file "f" at location "offset".
          '''
          f.seek(offset, 0)
          if (size == 8):
              return int.from_bytes(f.read(8), 'big', signed=True)
          else:
              return int.from_bytes(f.read(4), 'big', signed=Truef _read_offset_value(self, f, offset, size):
          '''
          Reads an integer value from file "f" at location "offset".
          '''
          f.seek(offset, 0)
          if (size == 8):
              return int.from_bytes(f.read(8), 'big', signed=True)
          else:
              return int.from_bytes(f.read(4), 'big', signed=True)
docs: Reads an integer value from file "f" at location "offset".