scodec

IntCodec

class IntCodec extends Codec[Int]

Linear Supertypes
Codec[Int], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IntCodec
  2. Codec
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntCodec(bits: Int, signed: Boolean = true, bigEndian: Boolean = true)

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 >>~[B](f: (Int) ⇒ Codec[B]): Codec[(Int, B)]

    Operator alias for flatZip.

    Operator alias for flatZip.

    Definition Classes
    Codec
  7. val MaxValue: Int

  8. val MinValue: Int

  9. final def as[B](implicit iso: Iso[B, Int]): Codec[B]

    Returns a new codec that encodes/decodes a value of type B by using an iso between A and B.

    Returns a new codec that encodes/decodes a value of type B by using an iso between A and B.

    Definition Classes
    Codec
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def decode(buffer: BitVector): \/[String, (BitVector, Int)]

    Attempts to decode a value of type A from the specified bit vector.

    Attempts to decode a value of type A from the specified bit vector.

    Definition Classes
    IntCodecCodec
  13. def encode(i: Int): \/[Error, BitVector]

    Attempts to encode the specified value in to a bit vector.

    Attempts to encode the specified value in to a bit vector.

    Definition Classes
    IntCodecCodec
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def flatZip[B](f: (Int) ⇒ Codec[B]): Codec[(Int, B)]

    Returns a new codec that encodes/decodes a value of type (A, B) where the codec of B is dependent on A.

    Returns a new codec that encodes/decodes a value of type (A, B) where the codec of B is dependent on A.

    Definition Classes
    Codec
  18. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  20. final def hlist: Codec[::[Int, HNil]]

    Lifts this codec in to a codec of a singleton hlist, which allows easy binding to case classes of one argument.

    Lifts this codec in to a codec of a singleton hlist, which allows easy binding to case classes of one argument.

    Definition Classes
    Codec
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    IntCodec → AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def xmap[B](f: (Int) ⇒ B, g: (B) ⇒ Int): Codec[B]

    Maps to a codec of type B.

    Maps to a codec of type B.

    Definition Classes
    Codec

Inherited from Codec[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped