# File lib/amq/protocol/client.rb, line 1388 def self.encode_priority(value) buffer = '' buffer << [value].pack(PACK_CHAR) [4, 0x0800, buffer] end