class PacketGen::Types::Int64

8-byte unsigned integer @author Sylvain Daubert

Public Class Methods

new(value=nil, endian=:big) click to toggle source

@param [Integer,nil] value @param [:big, :little] endian

Calls superclass method PacketGen::Types::Int::new
# File lib/packetgen/types/int.rb, line 309
def initialize(value=nil, endian=:big)
  super(value, endian, 8)
  @packstr = { big: 'Q>', little: 'Q<' }
end