class PacketGen::Types::SInt32
4-byte unsigned integer @author Sylvain Daubert @since 2.8.2
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::Int32::new
# File lib/packetgen/types/int.rb, line 278 def initialize(value=nil, endian=:big) super @packstr = { big: 'l>', little: 'l<' } end