cbor2diag(1)

cbor2diag1

Convert cbor wire protocol to diagnostic text

Usage

cbor2diag test.cbor > test.txt

Overview

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:

1(0)

Options

-: 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

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From node-cbor 8.1.0+dfsg+~cs5.2.1-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.