class Binstream::StreamOverrunError

Public Class Methods

new(length, remaining, position) click to toggle source
Calls superclass method
# File lib/binstream/errors.rb, line 17
def initialize(length, remaining, position)
  super(sprintf("Overrun! Reading %d bytes (remaining=%d pos=%d)", length, remaining, position))
end