PassThroughEncoder

An Encoder that "converts" T to itself.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun decode(b: T): Result<T>

Convert b to A

Link copied to clipboard
open override fun encode(a: T): Result<T>

Convert a to B