Method: AMQ::Protocol::Basic.encode_correlation_id
- Defined in:
- lib/amq/protocol/client.rb
.encode_correlation_id(value) ⇒ Object
1 << 10
1429 1430 1431 1432 1433 1434 |
# File 'lib/amq/protocol/client.rb', line 1429 def self.encode_correlation_id(value) buffer = +'' buffer << value.to_s.bytesize.chr buffer << value.to_s [5, 0x0400, buffer] end |