class

CBOR::Diagnostic

Inherits Reference / Object

Reads a CBOR input into a diagnostic string. This consumes the IO and is mostly useful to tests again the example provided in the RFC and ensuring a correct functioning of the CBOR::Lexer.

Constructors

new(input)
Source

Class methods

to_s(bytes : Bytes) : String
Source

Instance methods

to_s

Reads the content of the IO and prints out a diagnostic string represation of the input.

Source