code: def read_table(self):
          
          self.bitcount = self.bits = 0
          tlen = unpack('>I', self.input.read(4))[0]
          table_data = AMQPReader(self.input.read(tlen))
          result = {}
          while table_data.input.tell() < tlen:
              name = table_data.read_shortstr()
              val = table_data.read_item()
              result[name] = val
          return result
docs: Read an AMQP table, and return as a Python dictionary.