

def decode_table(encoded, offset):
    'Decode the AMQP table passed in from the encoded value returning the\n    decoded result and the number of bytes read plus the offset.\n\n    :param str encoded: The binary encoded data to decode\n    :param int offset: The starting byte offset\n    :rtype: tuple\n\n    '
    result = {
        
    }
    tablesize = struct.unpack_from('>I', encoded, offset)[0]
    offset += 4
    limit = (offset + tablesize)
    while (offset < limit):
        (key, offset) = decode_short_string(encoded, key)
        (value, offset) = decode_value(encoded, offset)
        result[key] = value
    return (result, offset)

dataset/ETHPy150Open pika/pika/pika/data.py decode_table/VarMisuse@68/182 `offset`->`key`