EncoderDecoder

abstract class EncoderDecoder<C : EncoderDecoder.Config>(config: C) : Encoder<C> (source)

Base abstraction which exposes Encoder and Decoder (sealed classes) such that inheriting classes must implement both.

See also

Constructors

Link copied to clipboard
constructor(config: C)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
abstract class Config

Base configuration for an EncoderDecoder. More options may be specified by the implementation.

Link copied to clipboard
sealed class Feed<C : EncoderDecoder.Config>(val config: C)

The base abstraction for Decoder.Feed and Encoder.Feed.

Functions

Link copied to clipboard
protected abstract fun name(): String

The name of the EncoderDecoder. This is utilized in the output of toString, equals, and hashCode.