Interface Decoder<R,T>
- Type Parameters:
R- The result type after decoding.T- The input type to be decoded.
- All Superinterfaces:
Codec<R,T>
- All Known Subinterfaces:
WebSocketSafeTypeDecoder<R>
A generic interface for decoding data from one type into another.
Implementations of this interface are responsible for converting encoded data into their corresponding decoded representation.
- Since:
- 3.5.0
-
Method Summary
-
Method Details
-
decode
Decodes the given input into its corresponding output representation.- Parameters:
t- The input to decode.- Returns:
- The decoded result.
-