Decodes CBOR-encoded data with temporary registration of the provided decoders.
This function provides a scoped way to decode CBOR data with concordium-specific decoders,
without permanently altering the global decoder registry. It temporarily registers
the custom type decoders, performs the decoding, and then restores the previous
decoder configuration.
Decodes CBOR-encoded data with temporary registration of the provided decoders.
This function provides a scoped way to decode CBOR data with concordium-specific decoders, without permanently altering the global decoder registry. It temporarily registers the custom type decoders, performs the decoding, and then restores the previous decoder configuration.
Returns
The decoded value.