Module: AMQ::Endianness
Constant Summary collapse
- BIG_ENDIAN =
([1].pack("s") == "\x00\x01")
Instance Method Summary collapse
Instance Method Details
#little_endian? ⇒ Boolean
9 10 11 |
# File 'lib/amq/endianness.rb', line 9 def little_endian? !BIG_ENDIAN end |