Class: PacketGen::Types::SInt64n
- Defined in:
- lib/packetgen/types/int.rb
Overview
native endian 8-byte unsigned integer
Instance Attribute Summary
Attributes inherited from Int
#default, #endian, #value, #width
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ SInt64n
constructor
A new instance of SInt64n.
Methods inherited from Int
#format_inspect, #nbits, #read, #sz, #to_f, #to_i, #to_s
Methods included from Fieldable
#format_inspect, #read, #sz, #to_human, #to_s, #type_name
Constructor Details
#initialize(value = nil) ⇒ SInt64n
Returns a new instance of SInt64n.
468 469 470 |
# File 'lib/packetgen/types/int.rb', line 468 def initialize(value=nil) super(value, :native) end |