Packages

  • package root

    This is the API documentation for Protoless, a Protobuf library for Scala.

    This is the API documentation for Protoless, a Protobuf library for Scala.

    The main entry point to use protoless is the io.protoless.generic package object, which allow to derive encoders and decoders for your case classes.

    The library is split in several modules:

    • io.protoless: Syntax, decoding failures
    • messages: Encoder and Decoder for protobuf messages.
    • fields: Encoder and Decoder for protobuf fields.
    • generic: Shapeless-powered generic derivation for case classes.
    • tag: Tagging tools to support unsigned/signed/fixed types.

    Please see the guide for more information on how to use protoless.

    Definition Classes
    root
  • package io
    Definition Classes
    root
  • package protoless
    Definition Classes
    io
  • package syntax
    Definition Classes
    protoless
  • DecoderBytesOps
  • EncoderOps
c

io.protoless.syntax

DecoderBytesOps

implicit final class DecoderBytesOps extends AnyVal

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecoderBytesOps
  2. AnyVal
  3. Any
Implicitly
  1. by EncoderOps
  2. by EncoderOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DecoderBytesOps(bytes: Array[Byte])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to any2stringadd[DecoderBytesOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DecoderBytesOps, B)
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to ArrowAssoc[DecoderBytesOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def as[A](implicit decoder: Decoder[A]): Result[A]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val bytes: Array[Byte]
  9. def ensuring(cond: (DecoderBytesOps) ⇒ Boolean, msg: ⇒ Any): DecoderBytesOps
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to Ensuring[DecoderBytesOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (DecoderBytesOps) ⇒ Boolean): DecoderBytesOps
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to Ensuring[DecoderBytesOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): DecoderBytesOps
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to Ensuring[DecoderBytesOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): DecoderBytesOps
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to Ensuring[DecoderBytesOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to StringFormat[DecoderBytesOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def toString(): String
    Definition Classes
    Any
  17. def [B](y: B): (DecoderBytesOps, B)
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to ArrowAssoc[DecoderBytesOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. final def asProtobufBytes(implicit encoder: Encoder[DecoderBytesOps]): Array[Byte]
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to EncoderOps[DecoderBytesOps] performed by method EncoderOps in io.protoless.syntax.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (decoderBytesOps: EncoderOps[DecoderBytesOps]).asProtobufBytes(encoder)
    Definition Classes
    EncoderOps
  2. final def asProtobufBytes(implicit encoder: Encoder[DecoderBytesOps]): Array[Byte]
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to EncoderOps[DecoderBytesOps] performed by method EncoderOps in io.protoless.syntax.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (decoderBytesOps: EncoderOps[DecoderBytesOps]).asProtobufBytes(encoder)
    Definition Classes
    EncoderOps
  3. final def asProtobufStream(implicit encoder: Encoder[DecoderBytesOps]): ByteArrayOutputStream
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to EncoderOps[DecoderBytesOps] performed by method EncoderOps in io.protoless.syntax.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (decoderBytesOps: EncoderOps[DecoderBytesOps]).asProtobufStream(encoder)
    Definition Classes
    EncoderOps
  4. final def asProtobufStream(implicit encoder: Encoder[DecoderBytesOps]): ByteArrayOutputStream
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to EncoderOps[DecoderBytesOps] performed by method EncoderOps in io.protoless.syntax.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (decoderBytesOps: EncoderOps[DecoderBytesOps]).asProtobufStream(encoder)
    Definition Classes
    EncoderOps
  5. val wrappedEncodeable: DecoderBytesOps
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to EncoderOps[DecoderBytesOps] performed by method EncoderOps in io.protoless.syntax.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (decoderBytesOps: EncoderOps[DecoderBytesOps]).wrappedEncodeable
    Definition Classes
    EncoderOps
  6. val wrappedEncodeable: DecoderBytesOps
    Implicit
    This member is added by an implicit conversion from DecoderBytesOps to EncoderOps[DecoderBytesOps] performed by method EncoderOps in io.protoless.syntax.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (decoderBytesOps: EncoderOps[DecoderBytesOps]).wrappedEncodeable
    Definition Classes
    EncoderOps

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion EncoderOps from DecoderBytesOps to EncoderOps[DecoderBytesOps]

Inherited by implicit conversion EncoderOps from DecoderBytesOps to EncoderOps[DecoderBytesOps]

Inherited by implicit conversion any2stringadd from DecoderBytesOps to any2stringadd[DecoderBytesOps]

Inherited by implicit conversion StringFormat from DecoderBytesOps to StringFormat[DecoderBytesOps]

Inherited by implicit conversion Ensuring from DecoderBytesOps to Ensuring[DecoderBytesOps]

Inherited by implicit conversion ArrowAssoc from DecoderBytesOps to ArrowAssoc[DecoderBytesOps]

Ungrouped