Decode without throwing: returns a Result carrying the decoded value,
or the CborError that decodeCbor would have thrown. Non-CBOR
errors still propagate - including the host's RangeError when a deeply
nested input exhausts the call stack (the reference aborts there too).
The try prefix means "returns Result, never throws" - everywhere in
this library.
Decode without throwing: returns a Result carrying the decoded value, or the CborError that decodeCbor would have thrown. Non-CBOR errors still propagate - including the host's
RangeErrorwhen a deeply nested input exhausts the call stack (the reference aborts there too).The
tryprefix means "returnsResult, never throws" - everywhere in this library.