def decode(self, file):
        intVal = self.int8Encoder.decode(file)
        if intVal not in self.valueMap:
            errStr = "Unknown InformationElementIdentifier value %s" % intVal
            raise UDHInformationElementIdentifierUnknownError(errStr)
        name = self.valueMap[intVal]
        return getattr(gsm_types.InformationElementIdentifier, name)
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/gsm_encoding.py/InformationElementIdentifierEncoder.decode/original