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