Method: AMQ::Protocol::Basic.encode_content_encoding
- Defined in:
- lib/amq/protocol/client.rb
.encode_content_encoding(value) ⇒ Object
1 << 14
1400 1401 1402 1403 1404 1405 |
# File 'lib/amq/protocol/client.rb', line 1400 def self.encode_content_encoding(value) buffer = +'' buffer << value.to_s.bytesize.chr buffer << value.to_s [1, 0x4000, buffer] end |