Method: StructFu::Int64#initialize
- Defined in:
- lib/packetfu/structfu.rb
#initialize(v = nil, e = :big) ⇒ Int64
Returns a new instance of Int64.
170 171 172 173 |
# File 'lib/packetfu/structfu.rb', line 170 def initialize(v=nil, e=:big) super(v, e, w=4) @packstr = (self.e == :big) ? 'Q>' : 'Q<' end |