Encoder

zio.schema.codec.ProtobufCodec.Encoder
object Encoder extends MutableSchemaBasedValueProcessor[Chunk[Byte], EncoderContext]

Attributes

Graph
Supertypes
trait MutableSchemaBasedValueProcessor[Chunk[Byte], EncoderContext]
class Object
trait Matchable
class Any
Self type
Encoder.type

Members list

Value members

Inherited methods

def process[A](schema: Schema[A], value: A): Target

Process a value based on it's schema

Process a value based on it's schema

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingDictionary(context: EncoderContext, schema: Map[_, _], size: Int): Unit

Called before processing a dictionary

Called before processing a dictionary

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingEither(context: EncoderContext, schema: Either[_, _]): Unit

Called before processing an either value

Called before processing an either value

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingEnum(context: EncoderContext, schema: Enum[_]): Unit

Called before processing an enum

Called before processing an enum

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingFallback(context: EncoderContext, schema: Fallback[_, _]): Unit

Called before processing a fallback value

Called before processing a fallback value

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingOption(context: EncoderContext, schema: Optional[_]): Unit

Called before processing an option value

Called before processing an option value

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingRecord(context: EncoderContext, schema: Record[_]): Unit

Called before processing a record (before calling processXYZ for the record's fields)

Called before processing a record (before calling processXYZ for the record's fields)

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingSequence(context: EncoderContext, schema: Sequence[_, _, _], size: Int): Unit

Called before processing a sequence

Called before processing a sequence

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingSet(context: EncoderContext, schema: Set[_], size: Int): Unit

Called before processing a set

Called before processing a set

Attributes

Inherited from:
MutableSchemaBasedValueProcessor
protected def startProcessingTuple(context: EncoderContext, schema: Tuple2[_, _]): Unit

Called before processing a pair of values

Called before processing a pair of values

Attributes

Inherited from:
MutableSchemaBasedValueProcessor