Transcoder

interface Transcoder

Functions

decode
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.
doEncode
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.
encode
Link copied to clipboard
open fun <T> encode(input: T, type: TypeRef<T>): Content

Inheritors

JsonTranscoder
Link copied to clipboard
RawBinaryTranscoder
Link copied to clipboard
RawJsonTranscoder
Link copied to clipboard
RawStringTranscoder
Link copied to clipboard