scodec

Codecs

object Codecs extends NamedCodecSyntax with TupleCodecSyntax with HListCodecSyntax

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Codecs
  2. HListCodecSyntax
  3. TupleCodecSyntax
  4. TupleCodecSyntax0
  5. NamedCodecSyntax
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit class CodecEnrichedWithTuplingSupport[A] extends AnyRef

    Allows two codecs to be combined in to a single codec that produces a tuple.

  2. implicit class EnrichedCodec[A] extends AnyRef

    Provides HList related syntax for codecs of any type.

  3. implicit class EnrichedHListCodec[L <: HList] extends AnyRef

    Provides common operations on a Codec[HList].

  4. implicit class StringEnrichedWithCodecNamingSupport extends AnyRef

    Definition Classes
    NamedCodecSyntax
  5. implicit class ValueEnrichedWithTuplingSupport[A] extends AnyRef

    Allows creation of left nested tuples by successive usage of ~ operator.

  6. type ~[+A, +B] = (A, B)

    Type alias for Tuple2 in order to allow left nested tuples to be written as A ~ B ~ C ~ .

    Type alias for Tuple2 in order to allow left nested tuples to be written as A ~ B ~ C ~ ....

    Definition Classes
    TupleCodecSyntax

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val ascii: Codec[String]

  8. def bits(size: Int): Codec[BitVector]

  9. val bool: Codec[Boolean]

  10. def bytes(size: Int): Codec[BitVector]

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def conditional[A](included: Boolean, codec: Codec[A]): Codec[Option[A]]

  13. def constant[A](bits: A*)(implicit arg0: Integral[A]): Codec[Unit]

  14. def constant(bits: BitVector): Codec[Unit]

  15. def encrypted[A](codec: Codec[A])(implicit cipherFactory: CipherFactory): Codec[A]

  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def fixedSizeBits[A](size: Int, codec: Codec[A]): Codec[A]

  20. def fixedSizeBytes[A](size: Int, codec: Codec[A]): Codec[A]

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def ignore(bits: Int): Codec[Unit]

  24. def int(bits: Int): Codec[Int]

  25. val int16: Codec[Int]

  26. val int16L: Codec[Int]

  27. val int24: Codec[Int]

  28. val int24L: Codec[Int]

  29. val int32: Codec[Int]

  30. val int32L: Codec[Int]

  31. val int64: Codec[Long]

  32. val int64L: Codec[Long]

  33. val int8: Codec[Int]

  34. val int8L: Codec[Int]

  35. def intL(bits: Int): Codec[Int]

  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. def isoFromFunctions[A, B](to: (A) ⇒ B, from: (B) ⇒ A): Iso[A, B]

  38. implicit def liftF2ToNestedTupleF[A, B, X](fn: (A, B) ⇒ X): ((A, B)) ⇒ X

    Definition Classes
    TupleCodecSyntax
  39. implicit def liftF3ToNestedTupleF[A, B, C, X](fn: (A, B, C) ⇒ X): (((A, B), C)) ⇒ X

    Definition Classes
    TupleCodecSyntax
  40. implicit def liftF4ToNestedTupleF[A, B, C, D, X](fn: (A, B, C, D) ⇒ X): ((((A, B), C), D)) ⇒ X

    Definition Classes
    TupleCodecSyntax
  41. implicit def liftF5ToNestedTupleF[A, B, C, D, E, X](fn: (A, B, C, D, E) ⇒ X): (((((A, B), C), D), E)) ⇒ X

    Definition Classes
    TupleCodecSyntax
  42. implicit def liftF6ToNestedTupleF[A, B, C, D, E, F, X](fn: (A, B, C, D, E, F) ⇒ X): ((((((A, B), C), D), E), F)) ⇒ X

    Definition Classes
    TupleCodecSyntax
  43. implicit def liftF7ToNestedTupleF[A, B, C, D, E, F, G, X](fn: (A, B, C, D, E, F, G) ⇒ X): (((((((A, B), C), D), E), F), G)) ⇒ X

    Definition Classes
    TupleCodecSyntax
  44. implicit def liftF8ToNestedTupleF[A, B, C, D, E, F, G, H, X](fn: (A, B, C, D, E, F, G, H) ⇒ X): ((((((((A, B), C), D), E), F), G), H)) ⇒ X

    Definition Classes
    TupleCodecSyntax
  45. def long(bits: Int): Codec[Long]

  46. def longL(bits: Int): Codec[Long]

  47. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  48. final def notify(): Unit

    Definition Classes
    AnyRef
  49. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  50. def repeated[A](codec: Codec[A]): Codec[IndexedSeq[A]]

  51. def signed[A](codec: Codec[A])(implicit signatureFactory: SignatureFactory): Codec[A]

  52. def string(implicit charset: Charset): Codec[String]

  53. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  54. def toString(): String

    Definition Classes
    AnyRef → Any
  55. def uint(bits: Int): Codec[Int]

  56. val uint16: Codec[Int]

  57. val uint16L: Codec[Int]

  58. val uint2: Codec[Int]

  59. val uint24: Codec[Int]

  60. val uint24L: Codec[Int]

  61. val uint2L: Codec[Int]

  62. val uint32: Codec[Long]

  63. val uint32L: Codec[Long]

  64. val uint4: Codec[Int]

  65. val uint4L: Codec[Int]

  66. val uint8: Codec[Int]

  67. val uint8L: Codec[Int]

  68. def uintL(bits: Int): Codec[Int]

  69. def ulong(bits: Int): Codec[Long]

  70. def ulongL(bits: Int): Codec[Long]

  71. implicit val unitInstance: Monoid[Unit] with Enum[Unit] with Show[Unit]

  72. val utf8: Codec[String]

  73. val uuid: Codec[UUID]

  74. def variableSizeBits[A](size: Codec[Int], value: Codec[A]): Codec[A]

  75. def variableSizeBytes[A](size: Codec[Int], value: Codec[A]): Codec[A]

  76. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  77. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  78. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  79. val x509Certificate: Codec[Certificate]

  80. object ~

    Extractor that allows pattern matching on the tuples created by tupling codecs.

Inherited from HListCodecSyntax

Inherited from TupleCodecSyntax

Inherited from TupleCodecSyntax0

Inherited from NamedCodecSyntax

Inherited from AnyRef

Inherited from Any

Ungrouped