Class: DFuzz::Short
- Defined in:
- lib/dfuzz/integer.rb
Instance Method Summary collapse
-
#initialize(delta = 0x80) ⇒ Short
constructor
A new instance of Short.
Methods inherited from Generator
#current, #each, #empty?, #end?, #index, #next, #next?, #pos, #rewind, #shift, #yield
Constructor Details
#initialize(delta = 0x80) ⇒ Short
Returns a new instance of Short.
16 17 18 |
# File 'lib/dfuzz/integer.rb', line 16 def initialize(delta = 0x80) super([0x0000, 0x0001, 0x7FFF, 0xFFFF], delta, 0xFFFF) end |