Class

scodec.codecs

StringEnrichedWithCodecContextSupport

Related Doc: package codecs

Permalink

implicit final class StringEnrichedWithCodecContextSupport extends AnyVal

Provides the | method on String, which is reverse syntax for codec withContext ctx.

Usage:

val codec = "id" | uint8
Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringEnrichedWithCodecContextSupport
  2. AnyVal
  3. Any
Implicitly
  1. by ValueEnrichedWithTuplingSupport
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringEnrichedWithCodecContextSupport(context: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to any2stringadd[StringEnrichedWithCodecContextSupport] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (StringEnrichedWithCodecContextSupport, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to ArrowAssoc[StringEnrichedWithCodecContextSupport] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. val a: StringEnrichedWithCodecContextSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to ValueEnrichedWithTuplingSupport[StringEnrichedWithCodecContextSupport] performed by method ValueEnrichedWithTuplingSupport in scodec.codecs.
    Definition Classes
    ValueEnrichedWithTuplingSupport
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val context: String

    Permalink
  9. def ensuring(cond: (StringEnrichedWithCodecContextSupport) ⇒ Boolean, msg: ⇒ Any): StringEnrichedWithCodecContextSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to Ensuring[StringEnrichedWithCodecContextSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (StringEnrichedWithCodecContextSupport) ⇒ Boolean): StringEnrichedWithCodecContextSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to Ensuring[StringEnrichedWithCodecContextSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): StringEnrichedWithCodecContextSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to Ensuring[StringEnrichedWithCodecContextSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): StringEnrichedWithCodecContextSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to Ensuring[StringEnrichedWithCodecContextSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to StringFormat[StringEnrichedWithCodecContextSupport] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. def |[A](codec: Codec[A]): Codec[A]

    Permalink

    Pushes context into the specified codec.

  18. def ~[B](b: B): (StringEnrichedWithCodecContextSupport, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to ValueEnrichedWithTuplingSupport[StringEnrichedWithCodecContextSupport] performed by method ValueEnrichedWithTuplingSupport in scodec.codecs.
    Definition Classes
    ValueEnrichedWithTuplingSupport
  19. def [B](y: B): (StringEnrichedWithCodecContextSupport, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to ArrowAssoc[StringEnrichedWithCodecContextSupport] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion ValueEnrichedWithTuplingSupport from StringEnrichedWithCodecContextSupport to ValueEnrichedWithTuplingSupport[StringEnrichedWithCodecContextSupport]

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

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

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

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

Ungrouped