.TH "CBOR2DIAG" "1" "November 2022" "8.1.0" .SH "NAME" \fBcbor2diag\fR \- convert CBOR wire protocol to diagnostic text .SH SYNOPSIS .RS 2 .nf cbor2diag test\.cbor > test\.txt .fi .RE .SH DESCRIPTION .P \fBcbor2diag\fP outputs the diagnostic format from RFC 8949 that corresponds to the .br CBOR files that were input\. For example, the following input: .RS 2 .nf 0xc100 c1 \-\- Tag 1 (Date) 00 \-\- 0 .fi .RE .P produces: .RS 2 .nf 1(0) .fi .RE .SH OPTIONS .P \fB\-\fP: read from stdin instead of a file\. This is the default\. .P \fB\-x [string]\fP: read the input from the hex\-encoded string on the command line .P \fB\-V, \-\-version\fP: print the node\-cbor version and exit .P \fB\-h, \-\-help\fP: print some help text and exit .SH SEE ALSO .RS 1 .IP \(bu 2 .UR https://github.com/hildjj/node-cbor .I node-cbor .UE .IP \(bu 2 .UR https://www.rfc-editor.org/rfc/rfc8949.html .I RFC 8949 .UE .RE