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