• Decodes src from CBOR.

    If noCopy is true, the returned Uint8Arrays will be a subarrays of src otherwise they will be newly allocated. It is not recommended to set it to true, due to the possibility of hard-to-detect bugs resulting from it and preventing chunks of memory from being garbage collected.

    If ignoreExtraData is true, decoder will not throw an error if there's undecoded data at the end of the source.

    Parameters

    Returns any | null | undefined