A success/failure result carrying a CborError on failure.
The primary API throws CborError; Result is used where a value is produced fallibly without exceptions (e.g. tag summarizers and the tryDecode helper).
Result
tryDecode
A success/failure result carrying a CborError on failure.
The primary API throws CborError;
Resultis used where a value is produced fallibly without exceptions (e.g. tag summarizers and thetryDecodehelper).