CodecAdapter

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

Attributes

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

Members list

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](implicit evidence$1: Of[T]): NamedCodec[T, R]
Extension method from dev.hnaderi.namedcodec

Attributes

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

Attributes

Source
NamedCodecPlatform.scala