The concept of Codec as a combination of Serializer and Deserializer is rather flawed: it assumes there is no context to be passed and there are a number of hoops we go through to model these.
We realistically are using IllegalArgumentCodec only and even that is better served by components providing their own specialization, as there is no inter-component sharing of these classes.
The concept of Codec as a combination of Serializer and Deserializer is rather flawed: it assumes there is no context to be passed and there are a number of hoops we go through to model these.
We realistically are using IllegalArgumentCodec only and even that is better served by components providing their own specialization, as there is no inter-component sharing of these classes.