CanonicalCodec

org.sigilaris.core.application.protocol.v2.CanonicalCodec
See theCanonicalCodec companion trait

Validation belongs to the selected new contract, not the historical codec.

Attributes

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

Members list

Value members

Concrete methods

def derived[A](validate: A => Either[CoreFailure, Unit])(using encoder: ByteEncoder[A], decoder: ByteDecoder[A]): CanonicalCodec[A]

Attributes

Source
CoreCodec.scala