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
Return true if this transformer can transform this value
Decode the passed CBOR to recreate the value.
OptionalencodeEncode the passed value to CBOR, if necessary. The codec should be able to recreate the value from the decoded form of the returned CBOR.
Optionalcontext: anyOptionalinvocation: Invocation
it-rpcuses a binary representation of values on the wire. By default it uses CBOR though it is not a requirement.Custom
ValueCodecs can be used to extend the supported value types with application-specific types.