Class: DFuzz::Short

Inherits:
Integer show all
Defined in:
lib/dfuzz/integer.rb

Instance Method Summary collapse

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