Module: Nl::Endian
- Defined in:
- nl/lib/nl/endian.rb
Overview
Byte-order helpers
Defined Under Namespace
Constant Summary collapse
- SIZEOF_INT =
sizeof(int)
[1].pack('i!').bytesize
- SIZEOF_LONG =
sizeof(long)
[1].pack('l!').bytesize
- SIZEOF_LLONG =
sizeof(long long)
[1].pack('q!').bytesize