scodec.interop.scalaz

CodecSyntax

Related Doc: package scalaz

implicit final class CodecSyntax[A] extends AnyVal

Extension methods for a Codec[A].

Source
package.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. CodecSyntax
  2. AnyVal
  3. Any
Implicitly
  1. by TransformSyntax
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  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 any2stringadd[CodecSyntax[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  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 ArrowAssoc 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 Ensuring 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 Ensuring 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 Ensuring 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 Ensuring 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 formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from CodecSyntax[A] to StringFormat[CodecSyntax[A]] 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 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
  17. val self: Codec[A]

  18. def toString(): String

    Definition Classes
    Any
  19. 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.

  20. 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
  21. 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
  22. 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
  23. 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 ArrowAssoc 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

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

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion TransformSyntax from CodecSyntax[A] to TransformSyntax[CodecSyntax, A]

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

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

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

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

combinators

Ungrouped