Raised when the Marshal stream is at the end
Number of bytes of Marshal stream consumed
Requested number of bytes that was not fulfillable
Creates a new EndOfMarshal exception. Marshal::Structure previously read
consumed
bytes and was unable to fulfill the request for
requested
additional bytes.
# File lib/marshal/structure.rb, line 54 def initialize consumed, requested @consumed = consumed @requested = requested super "consumed #{consumed} bytes, requested #{requested} more" end