code: def parse(self, data):
          # type: (bytes) -> None
          '''
          Parse the passed in data into a UDF Partition Map.
  
          Parameters:
           data - The data to parse.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Partition Map already initialized')
  
          (map_type, map_length, vol_seqnum,
           self.part_num) = struct.unpack_from(self.FMT, data, 0)
  
          if map_type != 1:
              raise pycdlibexception.PyCdlibInvalidISO('UDF Partition Map type is not 1')
          if map_length != 6:
              raise pycdlibexception.PyCdlibInvalidISO('UDF Partition Map length is not 6')
          if vol_seqnum != 1:
              raise pycdlibexception.PyCdlibInvalidISO('UDF Partition Volume Sequence Number is not 1')
  
          self._initialized = Truf parse(self, data):
          # type: (bytes) -> None
          '''
          Parse the passed in data into a UDF Partition Map.
  
          Parameters:
           data - The data to parse.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Partition Map already initialized')
  
          (map_type, map_length, vol_seqnum,
           self.part_num) = struct.unpack_from(self.FMT, data, 0)
  
          if map_type != 1:
              raise pycdlibexception.PyCdlibInvalidISO('UDF Partition Map type is not 1')
          if map_length != 6:
              raise pycdlibexception.PyCdlibInvalidISO('UDF Partition Map length is not 6')
          if vol_seqnum != 1:
              raise pycdlibexception.PyCdlibInvalidISO('UDF Partition Volume Sequence Number is not 1')
  
          self._initialized = True
docs: Parse the passed in data into a UDF Partition Map.
  
          Parameters:
           data - The data to parse.
          Returns:
           Nothing.