class Protocol::HPACK::Decompressor

def decode(list = [])

Returns:
  • (Array) - +[[name, value], ...]+

Parameters:
  • buffer (Buffer) --
def decode(list = [])
	while !end?
		command = read_header
		
		if pair = @context.decode(command)
			list << pair
		end
	end
	
	if command and command[:type] == :change_table_size
		raise CompressionError, "Trailing table size update!"
	end
	
	return list
end