Package e.java.codec

Interface Encoder<I,O>

Type Parameters:
I - Type of input
O - 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

    Modifier and Type
    Method
    Description
    encode(I input)
    Encodes an input
  • Method Details

    • encode

      O encode(I input)
      Encodes an input
      Parameters:
      input - An input
      Returns:
      Encoded output