EncoderRegistry

open class EncoderRegistry

Contains an ordered list of Encoders capable of encoding arbitrary data types.

Functions

Link copied to clipboard
open fun <T> append(dataClass: Class<T>, encoder: Encoder<T>)
Link copied to clipboard
open fun <T> getEncoder(dataClass: Class<T>): Encoder<T>
Link copied to clipboard
open fun <T> prepend(dataClass: Class<T>, encoder: Encoder<T>)