scodec.codecs

StringEnrichedWithCodecContextSupport

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. NotNull
  4. Any
Implicitly
  1. by ValueEnrichedWithTuplingSupport
  2. by any2stringadd
  3. by any2stringfmt
  4. by any2ArrowAssoc
  5. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringEnrichedWithCodecContextSupport(context: String)

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. val a: StringEnrichedWithCodecContextSupport

    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

    Definition Classes
    Any
  8. val context: String

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

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to StringFormat performed by method any2stringfmt 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 |[A](codec: Codec[A]): Codec[A]

    Pushes context into the specified codec.

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

    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)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to StringAdd performed by method any2stringadd in scala.Predef.
    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:
    (stringEnrichedWithCodecContextSupport: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to StringFormat performed by method any2stringfmt in scala.Predef.
    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:
    (stringEnrichedWithCodecContextSupport: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: StringEnrichedWithCodecContextSupport

    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to ArrowAssoc[StringEnrichedWithCodecContextSupport] performed by method any2ArrowAssoc in scala.Predef.
    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:
    (stringEnrichedWithCodecContextSupport: ArrowAssoc[StringEnrichedWithCodecContextSupport]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: StringEnrichedWithCodecContextSupport

    Implicit information
    This member is added by an implicit conversion from StringEnrichedWithCodecContextSupport to Ensuring[StringEnrichedWithCodecContextSupport] performed by method any2Ensuring in scala.Predef.
    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:
    (stringEnrichedWithCodecContextSupport: Ensuring[StringEnrichedWithCodecContextSupport]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

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

Inherited by implicit conversion any2stringadd from StringEnrichedWithCodecContextSupport to StringAdd

Inherited by implicit conversion any2stringfmt from StringEnrichedWithCodecContextSupport to StringFormat

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

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

Ungrouped