Packages

p

io.protoless

messages

package messages

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait Decoder[A] extends Serializable

    Interface for all Decoder implementations.

    Interface for all Decoder implementations.

    Allows to decode protobuf3 serialized message in type A. If the message is not compatible with A, return a io.protoless.error.DecodingFailure.

    Decoding can be done with Automatic strategy with decoders.AutoDecoder, or by specifying a custom protobuf mapping with decoders.CustomMappingDecoder.

    Annotations
    @implicitNotFound( "No Decoder found for type ${A}." )
  2. trait Encoder[A] extends Serializable

    Interface for all Encoder implementations.

    Interface for all Encoder implementations.

    Allows to encode instances of A as protobuf3 serialized message.

    Encoding can be done with Automatic strategy with encoders.AutoEncoder, or by specifying a custom protobuf mapping with encoders.CustomMappingEncoder.

    Annotations
    @implicitNotFound( "No Encoder found for type ${A}." )

Value Members

  1. object Decoder extends Serializable

    Utilities for Decoder

  2. object Encoder extends Serializable

    Utilities for Encoder.

Ungrouped