Encode to deterministic CBOR bytes (same as encodeCbor(this)).
Encode and render as lowercase hex.
Cheap debug string: Cbor(0x…) with the encoded hex.
For the flat diagnostic form use diagnostic(c, { flat: true }) from
@blockchaincommons/dcbor/diagnostic, or installDebugHooks() from @blockchaincommons/dcbor/debug
for diag-flavored console output.
The instance methods every
Cborvalue carries.Exactly three cheap conveniences; everything else is a free function.