

def unpack(self, fmt):
    size = calcsize(fmt)
    data = self.read(size)
    values = unpack(fmt, data)
    if (len(values) == 1):
        return values[0]
    else:
        return values

dataset/ETHPy150Open tweetdeck/txAMQP/src/txamqp/codec.py Codec.unpack/original