Interface Codec<R,T>
- Type Parameters:
R- The result type (encoded or decoded).T- The input type.
- All Known Subinterfaces:
Decoder<R,,T> Encoder<R,,T> WebSocketSafeTypeDecoder<R>,WebSocketSafeTypeEncoder<R,,T> WebSocketSafeTypeEncoder.TypeToByteArrayEncoder<T>,WebSocketSafeTypeEncoder.TypeToByteBufferEncoder<T>,WebSocketSafeTypeEncoder.TypeToJsonEncoder<T>,WebSocketSafeTypeEncoder.TypeToStringEncoder<T>
A generic base interface for codecs, combining encoding and decoding operations.
This interface serves as a marker or contract for implementations that either encode, decode, or do both.