Function diagnose

  • Decode CBOR bytes a diagnostic string.

    Parameters

    • src: string | Uint8Array<ArrayBufferLike>

      CBOR bytes to decode.

    • Optionaloptions: DecodeOptions

      Options for decoding.

    Returns string

    JS value decoded from cbor.

    No value found, decoding errors.