Codec

skunk.Codec$
See theCodec companion trait
object Codec

Attributes

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

Members list

Concise view

Typeclass Instances

Codec is an invariant semgroupal functor.

Codec is an invariant semgroupal functor.

Attributes

Source:
Codec.scala

Constructors

def apply[A](encode0: A => List[Option[String]], decode0: (Int, List[Option[String]]) => Either[Error, A], oids0: List[Type]): Codec[A]

Attributes

Source:
Codec.scala
def array[A](encode: A => String, decode: String => Either[String, A], oid: Type): Codec[Arr[A]]

Attributes

Source:
Codec.scala
def simple[A](encode: A => String, decode: String => Either[String, A], oid: Type): Codec[A]

Attributes

Source:
Codec.scala