module PostgresPR::Utils::ByteOrder

Constants

BigEndian
LittleEndian
Native

Public Class Methods

big?()
Alias for: big_endian?
big_endian?() click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 18
def big_endian?
  true
end
Also aliased as: big?, network?
byte_order() click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 10
def byte_order
  BigEndian
end
Also aliased as: byteorder
byteorder()
Alias for: byte_order
little?()
Alias for: little_endian?
little_endian?() click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 14
def little_endian?
  false
end
Also aliased as: little?
network?()
Alias for: big_endian?

Private Instance Methods

big?()
Alias for: big_endian?
big_endian?() click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 18
def big_endian?
  true
end
Also aliased as: big?, network?
byte_order() click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 10
def byte_order
  BigEndian
end
Also aliased as: byteorder
byteorder()
Alias for: byte_order
little?()
Alias for: little_endian?
little_endian?() click to toggle source
# File lib/postgres-pr/utils/byteorder.rb, line 14
def little_endian?
  false
end
Also aliased as: little?
network?()
Alias for: big_endian?