<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def DeserializeUnsigned(self, reader):
 """ Deserialize object. Args: reader (neo.IO.BinaryReader):
 Raises: Exception: if transaction type is incorrect. """

        txtype = reader.ReadByte()
        if txtype != int.from_bytes(self.Type, 'little'):
            raise Exception('incorrect type {}, wanted {}'.format(txtype, int.from_bytes(self.Type, 'little')))
        self.DeserializeUnsignedWithoutType(reader)