class CBOR::Diagnostic
- CBOR::Diagnostic
- Reference
- Object
Overview
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
.
Defined in:
cbor/diagnostic.crConstructors
Class Method Summary
Instance Method Summary
-
#to_s : String
Reads the content of the IO and prints out a diagnostic string represation of the input.
Instance methods inherited from class Object
to_cbor(io : IO)to_cbor(encoder : CBOR::Encoder)
to_cbor : Bytes to_cbor
Class methods inherited from class Object
from_cbor(string_or_io)
from_cbor
Constructor Detail
Class Method Detail
Instance Method Detail
def to_s : String
#
Reads the content of the IO and prints out a diagnostic string represation of the input.