A unique number for the value type. It's recommended that user defined types use numbers greater than 1000 to avoid conflicting with built in value transformers
Decode the passed CBOR to recreate the value.
Optional
encodeEncode the passed value to CBOR, if necessary. The codec should be able to recreate the value from the decoded form of the returned CBOR.
Optional
context: anyOptional
invocation: Invocation
it-rpc
uses a binary representation of values on the wire. By default it uses CBOR though it is not a requirement.Custom
ValueCodec
s can be used to extend the supported value types with application-specific types.