getEncoder

open fun <T> getEncoder(dataClass: Class<T>): Encoder<T>