Converter<S,T> encoder

Returns the encoder from S to T.

It may be stateful and should not be reused.