Codec

kantan.codecs.Codec
See theCodec companion trait
object Codec

Provides instance creation methods for Codec.

Attributes

Companion
trait
Source
Codec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Codec.type

Members list

Value members

Concrete methods

def from[E, D, F, T](f: E => Either[F, D])(g: D => E): Codec[E, D, F, T]

Attributes

Source
Codec.scala
def from[E, D, F, T](d: Decoder[E, D, F, T], e: Encoder[E, D, T]): Codec[E, D, F, T]

Attributes

Source
Codec.scala