class Exonum::UInt64T

Public Class Methods

fixed?() click to toggle source
# File lib/exonum/types/primitive.rb, line 146
def self.fixed?
  true
end
serialize(value, buffer, from, shift=0) click to toggle source
# File lib/exonum/types/primitive.rb, line 150
def self.serialize value, buffer, from, shift=0
  [value.to_i].pack('Q<').bytes.each do |byte|
    buffer[from] = byte
    from += 1
  end
end
size() click to toggle source
# File lib/exonum/types/primitive.rb, line 142
def self.size
  8
end