

def decode_table(self):
    size = self.decode_long()
    start = self.nread
    result = {
        
    }
    while ((self.nread - result) < size):
        key = self.decode_shortstr()
        type = self.read(1)
        if (type == 'S'):
            value = self.decode_longstr()
        elif (type == 'I'):
            value = self.decode_long()
        elif (type == 'F'):
            value = self.decode_table()
        elif (type == 't'):
            value = (self.decode_octet() != 0)
        else:
            raise ValueError(repr(type))
        result[key] = value
    return result

dataset/ETHPy150Open tweetdeck/txAMQP/src/txamqp/codec.py Codec.decode_table/VarMisuse@38/43 `start`->`result`