def _decode(self, bytes):
        if len(bytes) < 3:
            raise PDUParseError("Invalid callback_num size %s" % len(bytes), pdu_types.CommandStatus.ESME_RINVOPTPARAMVAL)

        digitModeIndicator = self.digitModeIndicatorEncoder._decode(bytes[0])
        ton = self.tonEncoder._decode(bytes[1])
        npi = self.npiEncoder._decode(bytes[2])
        digits = bytes[3:]
        return pdu_types.CallbackNum(digitModeIndicator, ton, npi, digits)
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/pdu_encoding.py/CallbackNumEncoder._decode/original