class PacketGen::Types::Int32

4-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 248
def initialize(value=nil, endian=:big)
  super(value, endian, 4)
  @packstr = { big: 'N', little: 'V' }
end