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
Type Hierarchy
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringEnrichedWithCodecContextSupport
  2. AnyVal
  3. Any
Implicitly
  1. by ValueEnrichedWithTuplingSupport
  2. by ValueEnrichedWithTuplingSupport
  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 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val context: String

    Permalink
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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()
  13. def getClass(): Class[_ <: AnyVal]

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

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

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

    Permalink

    Pushes context into the specified codec.

  17. 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

Shadowed Implicit Value Members

  1. 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.
    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: ValueEnrichedWithTuplingSupport[StringEnrichedWithCodecContextSupport]).a
    Definition Classes
    ValueEnrichedWithTuplingSupport
  2. 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.
    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: ValueEnrichedWithTuplingSupport[StringEnrichedWithCodecContextSupport]).a
    Definition Classes
    ValueEnrichedWithTuplingSupport
  3. 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.
    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: ValueEnrichedWithTuplingSupport[StringEnrichedWithCodecContextSupport]).~(b)
    Definition Classes
    ValueEnrichedWithTuplingSupport
  4. 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.
    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: ValueEnrichedWithTuplingSupport[StringEnrichedWithCodecContextSupport]).~(b)
    Definition Classes
    ValueEnrichedWithTuplingSupport

Inherited from AnyVal

Inherited from Any

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

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