class Binstream::InvalidBooleanValueError

Public Class Methods

new(bad_value, position) click to toggle source
Calls superclass method
# File lib/binstream/errors.rb, line 29
def initialize(bad_value, position)
  super(sprintf("Expected boolean value of 1 or 0, but got %d (0x%02X) pos=%d", bad_value, bad_value, position))
end