Codec

trait Codec[Left, Right]

Represents a bijection between Left and Right.

Represents a bijection between Left and Right.

This bijection is supposed to be "exception-free", and be an actual bijection.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def leftToRight(left: Left): Right
Implicitly added by liftCodec
def leftToRight(left: Left): Right
def rightToLeft(right: Right): Left
Implicitly added by liftCodec
def rightToLeft(right: Right): Left

Concrete methods

def ++[To](that: Codec[Right, To]): Codec[Left, To]
Implicitly added by liftCodec
def ++[To](that: Codec[Right, To]): Codec[Left, To]