Transcoder

interface Transcoder

Functions

Link copied to clipboard
abstract fun <T> decode(content: Content, type: TypeRef<T>): T

Decodes the wire representation into the entity based on the data format.

Link copied to clipboard
abstract fun <T> doEncode(input: T, type: TypeRef<T>): Content

Encodes the given input into the wire representation based on the data format.

Link copied to clipboard
open fun <T> encode(input: T, type: TypeRef<T>): Content

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard