fromEncodedCbor

Creates a new NameSpacedData from encoded CBOR.

Return

A NameSpacedData.

Parameters

encodedCbor

CBOR encoded in the format described by .encodeAsCbor.

Throws

if the given data does not confirm to the CDDL in .encodeAsCbor.