Function comment

  • Create a string that describes the input CBOR.

    Parameters

    • src: string | Uint8Array<ArrayBufferLike>

      CBOR-encoded string or byte array.

    • Optionaloptions: CommentOptions

      Options for decoding.

    Returns string

    Comment string.

    On invalid CBOR.