code: def _ParseIntegerValue(self, byte_stream, file_offset):
      
      data_type_map = self._GetDataTypeMap('int32be')
  
      try:
        return self._ReadStructureFromByteStream(
            byte_stream, file_offset, data_type_map)
      except (ValueError, errors.ParseError) as exception:
        raise errors.ParseError(
            'Unable to parse integer value with error: {0!s}'.format(exception))
docs: Parses an integer value.
  
      Args:
        byte_stream (bytes): byte stream.
        file_offset (int): offset of the attribute data relative to the start of
            the file-like object.
  
      Returns:
        int: integer value.
  
      Raises:
        ParseError: when the integer value cannot be parsed.