Class: Moped::BSON::Types::Integer64

Inherits:
Object
  • Object
show all
Defined in:
lib/moped/bson/types.rb

Class Method Summary collapse

Class Method Details

.__bson_load__(io) ⇒ Object



18
19
20
# File 'lib/moped/bson/types.rb', line 18

def self.__bson_load__(io)
  io.read(8).unpack(INT64_PACK)[0]
end