Registers a CBOR encoder for the CborAccountAddress type with the cbor2 library.
This allows CborAccountAddress instances to be automatically encoded when used with
the cbor2 library's encode function.
Returns
Example
// Register the encoder registerCBOREncoder(); // Now CborAccountAddress instances can be encoded directly constencoded = encode(myCborAccountAddress);
Registers a CBOR encoder for the CborAccountAddress type with the
cbor2library. This allows CborAccountAddress instances to be automatically encoded when used with thecbor2library's encode function.Returns
Example