DOKK / manpages / debian 12 / node-cbor / cbor2diag.1.en
CBOR2DIAG(1) General Commands Manual CBOR2DIAG(1)

cbor2diag - convert CBOR wire protocol to diagnostic text

cbor2diag test.cbor > test.txt

cbor2diag outputs the diagnostic format from RFC 8949 that corresponds to the
CBOR files that were input. For example, the following input:

0xc100

c1 -- Tag 1 (Date)
00 -- 0

produces:

-: read from stdin instead of a file. This is the default.

-x [string]: read the input from the hex-encoded string on the command line

-V, --version: print the node-cbor version and exit

-h, --help: print some help text and exit

November 2022 8.1.0