Codec

zio.schema.codec.Codec
trait Codec[Whole, Element, A] extends Encoder[Whole, Element, A] with Decoder[Whole, Element, A]

Attributes

Graph
Supertypes
trait Decoder[Whole, Element, A]
trait Encoder[Whole, Element, A]
class Object
trait Matchable
class Any
Known subtypes
trait BinaryCodec[A]

Members list

Concise view

Value members

Inherited methods

def decode(whole: Whole): Either[DecodeError, A]

Attributes

Inherited from:
Decoder
def encode(value: A): Whole

Attributes

Inherited from:
Encoder
def streamDecoder: ZPipeline[Any, DecodeError, Element, A]

Attributes

Inherited from:
Decoder
def streamEncoder: ZPipeline[Any, Nothing, A, Element]

Attributes

Inherited from:
Encoder