class CBOR::OutOfBytesError
Attributes
bytes[R]
Public Class Methods
new(bytes)
click to toggle source
# File lib/cbor-pure.rb, line 7 def initialize(bytes) @bytes = bytes end
Public Instance Methods
to_s()
click to toggle source
# File lib/cbor-pure.rb, line 11 def to_s "Out of bytes to decode (need at least #{@bytes} byte#{bytes == 1 ? "" : "s"} more)" end