scodec.interop.scalaz

CodecSyntax

implicit final class CodecSyntax[A] extends AnyVal

Extension methods for a Codec[A].

Source
package.scala
Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. CodecSyntax
  2. AnyVal
  3. NotNull
  4. Any
Implicitly
  1. by TransformSyntax
  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 CodecSyntax(self: Codec[A])

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 CodecSyntax[A] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  4. def ->[B](y: B): (CodecSyntax[A], B)

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

    Definition Classes
    Any
  6. def as[B](implicit as: Transformer[A, B]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def ensuring(cond: (CodecSyntax[A]) ⇒ Boolean, msg: ⇒ Any): CodecSyntax[A]

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

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

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

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to Ensuring[CodecSyntax[A]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def exmap[B](f: (A) ⇒ Attempt[B], g: (B) ⇒ Attempt[A]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  13. def exmapc[B](f: (A) ⇒ Attempt[B])(g: (B) ⇒ Attempt[A]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  14. def formatted(fmtstr: String): String

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

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

    Definition Classes
    Any
  17. def narrow[B](f: (A) ⇒ Attempt[B], g: (B) ⇒ A): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  18. def narrowc[B](f: (A) ⇒ Attempt[B])(g: (B) ⇒ A): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  19. val self: Codec[A]

  20. def toString(): String

    Definition Classes
    Any
  21. def unitM(implicit m: Monoid[A]): Codec[Unit]

    Converts this to a Codec[Unit] that encodes using the zero value of the implicitly available Monoid[A] and decodes a unit value when this codec decodes an A successfully.

  22. def widen[B](f: (A) ⇒ B, g: (B) ⇒ Attempt[A]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  23. def widenOpt[B](f: (A) ⇒ B, g: (B) ⇒ Option[A]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  24. def widenOptc[B](f: (A) ⇒ B)(g: (B) ⇒ Option[A]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  25. def widenc[B](f: (A) ⇒ B)(g: (B) ⇒ Attempt[A]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  26. def xmap[B](f: (A) ⇒ B, g: (B) ⇒ A): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  27. def xmapc[B](f: (A) ⇒ B)(g: (B) ⇒ A): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
  28. def [B](y: B): (CodecSyntax[A], B)

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

Shadowed Implicit Value Members

  1. val self: CodecSyntax[A]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (codecSyntax: TransformSyntax[CodecSyntax, A]).self
    Definition Classes
    TransformSyntax
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (codecSyntax: StringAdd).self
    Definition Classes
    StringAdd
  3. val self: Any

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (codecSyntax: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def pxmap[B](f: (A) ⇒ B, g: (B) ⇒ Option[A]): CodecSyntax[B]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to TransformSyntax[CodecSyntax, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[CodecSyntax] is in scope.
    Definition Classes
    TransformSyntax
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7.0) Use widenOpt instead

  2. def x: CodecSyntax[A]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to ArrowAssoc[CodecSyntax[A]] 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:
    (codecSyntax: ArrowAssoc[CodecSyntax[A]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: CodecSyntax[A]

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to Ensuring[CodecSyntax[A]] 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:
    (codecSyntax: Ensuring[CodecSyntax[A]]).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 TransformSyntax from CodecSyntax[A] to TransformSyntax[CodecSyntax, A]

Inherited by implicit conversion any2stringadd from CodecSyntax[A] to StringAdd

Inherited by implicit conversion any2stringfmt from CodecSyntax[A] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from CodecSyntax[A] to ArrowAssoc[CodecSyntax[A]]

Inherited by implicit conversion any2Ensuring from CodecSyntax[A] to Ensuring[CodecSyntax[A]]

combinators

Ungrouped