# File lib/amq/protocol/client.rb, line 776 def self.encode(channel) buffer = "" buffer << @packed_indexes MethodFrame.new(buffer, channel) end