CodecAdapter

dev.hnaderi.namedcodec.CodecAdapter
trait CodecAdapter[Enc[_], Dec[_], R]

Attributes

Source:
NamedCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def decode[A : Dec](r: R): Either[String, A]

Attributes

Source:
NamedCodec.scala
def encode[A : Enc](a: A): R

Attributes

Source:
NamedCodec.scala

Concrete methods

inline def of[T : Of]: NamedCodec[T, R]
Extension method from dev.hnaderi.namedcodec

Attributes

Source:
NamedCodecPlatform.scala
inline def of[T : Of](transform: String => String): NamedCodec[T, R]
Extension method from dev.hnaderi.namedcodec

Attributes

Source:
NamedCodecPlatform.scala