qbits.alia.codec.udt-aware

codec

Decoder

protocol

members

decode

(decode x)

Defines how to do the decoding of value via a codec instance function

decoders

(decoders decode)

default-decoders

default-encoders

Encoder

protocol

members

encode

(encode x)

Defines how to do the encoding of value via a codec instance function

encoders

(encoders encode)

record-map-ctor

(record-map-ctor rec-sym)

UDTRegistry

protocol

members

deregister-udt!

(deregister-udt! this session udt-name record-constructor)

Allows to register an udtencoder at codec level, when the specified record typed is passed it will automatically be encoded in the appropriate UDTValue

get-udt-codec

(get-udt-codec this udt-name-or-record-type)

register-udt!

(register-udt! this session udt-name record-constructor)

Allows to register an udtencoder at codec level, when the specified record typed is passed it will automatically be encoded in the appropriate UDTValue