Package e.java.codec
Interface Encoder<I,O>
- Type Parameters:
I
- Type of inputO
- Type of output
- All Known Subinterfaces:
Codec<S,
T>
public interface Encoder<I,O>
Typeclass defining how to encode an input value to an output value
-
Method Summary
-
Method Details
-
encode
Encodes an input- Parameters:
input
- An input- Returns:
- Encoded output
-