Method: BinStruct::SInt64#initialize
- Defined in:
- lib/bin_struct/int.rb
#initialize(options = {}) ⇒ SInt64
Returns a new instance of SInt64.
458 459 460 461 462 |
# File 'lib/bin_struct/int.rb', line 458 def initialize( = {}) opts = .slice(:value, :endian) super(opts) @packstr = { big: 'q>', little: 'q<', native: 'q' } end |