Class: StructFu::Int32le

Inherits:
Int32 show all
Defined in:
lib/packetfu/structfu.rb

Overview

Int32le is a four byte value in little-endian format. The endianness cannot be altered.

Instance Attribute Summary

Attributes inherited from Int

#default, #endian, #value, #width

Instance Method Summary collapse

Methods inherited from Int32

#to_s

Methods inherited from Int

#read, #to_f, #to_i, #to_s

Methods inherited from Struct

#force_binary

Constructor Details

#initialize(v = nil, e = :little) ⇒ Int32le

Returns a new instance of Int32le.



163
164
165
# File 'lib/packetfu/structfu.rb', line 163

def initialize(v=nil, e=:little)
  super(v,e)
end