module PostgresPR::Utils::ByteOrder
Constants
- BigEndian
- LittleEndian
- Native
Public Class Methods
big_endian?()
click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 18 def big_endian? true end
byte_order()
click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 10 def byte_order BigEndian end
Also aliased as: byteorder
little_endian?()
click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 14 def little_endian? false end
Also aliased as: little?
Private Instance Methods
big_endian?()
click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 18 def big_endian? true end
byte_order()
click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 10 def byte_order BigEndian end
Also aliased as: byteorder
little_endian?()
click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 14 def little_endian? false end
Also aliased as: little?