Packages

package decoders

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait AutoDecoder[A] extends Decoder[A]

    A type class that decode a value of type A from a CodedInputSteam.

    A type class that decode a value of type A from a CodedInputSteam. Each parameters of A is associated to an incremental index (starting from 1) representing the protobuf field index.

    The decoder is implicitly transformed into an IncrementalDecoder[A, Nat._1] after the first induction step.

    Annotations
    @implicitNotFound( ... ) @inductive()
  2. trait CustomMappingDecoder[A, L <: HList] extends Decoder[A]

    A type class that decode a value of type A from a CodedInputSteam.

    A type class that decode a value of type A from a CodedInputSteam. Each parameter of A is associated with an index defined in the L HList.

    The first parameter of A is associated with the first Nat in L, the second parameter of A with the second Nat in L, etc.

    This allows to decode protobuf message with non successive fields number.

    Annotations
    @implicitNotFound( ... ) @inductive()
  3. trait IncrementalDecoder[A, N <: Nat] extends Decoder[A]

    A type class that decode a value of type A from a CodedInputSteam.

    A type class that decode a value of type A from a CodedInputSteam.

    Each parameters of A is associated to an incremental index (starting from N) representing the protobuf field index.

    Annotations
    @implicitNotFound( ... ) @inductive()

Value Members

  1. object AutoDecoder extends Serializable

    Utilities for AutoDecoder

  2. object CustomMappingDecoder extends Serializable

    Utilities for CustomMappingDecoder

  3. object IncrementalDecoder extends Serializable

    Utilities for IncrementalDecoder

Ungrouped