Class

net.psforever.newcodecs

QuantizedDoubleCodec

Related Doc: package newcodecs

Permalink

final class QuantizedDoubleCodec extends Codec[Double]

Source
QuantizedDoubleCodec.scala
Linear Supertypes
Codec[Double], GenCodec[Double, Double], Decoder[Double], Encoder[Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QuantizedDoubleCodec
  2. Codec
  3. GenCodec
  4. Decoder
  5. Encoder
  6. AnyRef
  7. Any
Implicitly
  1. by ValueCodecEnrichedWithHListSupport
  2. by TransformSyntax
  3. by Tuple2CodecSupport
  4. by EnrichedCoproductEncoder
  5. by ValueCodecEnrichedWithGenericSupport
  6. by any2stringadd
  7. by StringFormat
  8. by Ensuring
  9. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QuantizedDoubleCodec(min: Double, max: Double, bits: Int)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to any2stringadd[QuantizedDoubleCodec] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (QuantizedDoubleCodec, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ArrowAssoc[QuantizedDoubleCodec] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def :+:[B](left: Codec[B]): CoproductCodecBuilder[:+:[B, :+:[Double, CNil]], ::[Codec[B], ::[Codec[Double], HNil]], :+:[B, :+:[Double, CNil]]]

    Permalink
    Definition Classes
    Codec
  6. def ::[B](codecB: Codec[B]): Codec[::[B, ::[Double, HNil]]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithHListSupport[Double] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  7. def :~>:[B](codecB: Codec[B])(implicit ev: =:=[Unit, B]): Codec[::[Double, HNil]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithHListSupport[Double] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  8. final def <~[B](codecB: Codec[B])(implicit ev: =:=[Unit, B]): Codec[Double]

    Permalink
    Definition Classes
    Codec
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def >>:~[L <: HList](f: (Double) ⇒ Codec[L]): Codec[::[Double, L]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithHListSupport[Double] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  11. final def >>~[B](f: (Double) ⇒ Codec[B]): Codec[(Double, B)]

    Permalink
    Definition Classes
    Codec
  12. def QuantizeDouble(value: Double): Int

    Permalink
  13. def UnquantizeDouble(value: Int): Double

    Permalink
  14. def as[B](implicit as: Transformer[Double, B]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  15. def asDecoder: Decoder[Double]

    Permalink
    Definition Classes
    Decoder
  16. def asEncoder: Encoder[Double]

    Permalink
    Definition Classes
    Encoder
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def compact: Codec[Double]

    Permalink
    Definition Classes
    Codec → GenCodec → Encoder
  20. final def complete: Codec[Double]

    Permalink
    Definition Classes
    Codec → GenCodec → Decoder
  21. final def consume[B](f: (Double) ⇒ Codec[B])(g: (B) ⇒ Double): Codec[B]

    Permalink
    Definition Classes
    Codec
  22. def contramap[C](f: (C) ⇒ Double): GenCodec[C, Double]

    Permalink
    Definition Classes
    GenCodec → Encoder
  23. def decode(buffer: BitVector): Attempt[DecodeResult[Double]]

    Permalink
    Definition Classes
    QuantizedDoubleCodec → Decoder
  24. def decodeOnly[AA >: Double]: Codec[AA]

    Permalink
    Definition Classes
    Codec → Decoder
  25. final def decodeValue(bits: BitVector): Attempt[Double]

    Permalink
    Definition Classes
    Decoder
  26. final def downcast[B <: Double](implicit tb: Typeable[B]): Codec[B]

    Permalink
    Definition Classes
    Codec
  27. final def dropLeft[B](codecB: Codec[B])(implicit ev: =:=[Unit, Double]): Codec[B]

    Permalink
    Definition Classes
    Codec
  28. final def dropRight[B](codecB: Codec[B])(implicit ev: =:=[Unit, B]): Codec[Double]

    Permalink
    Definition Classes
    Codec
  29. def econtramap[C](f: (C) ⇒ Attempt[Double]): GenCodec[C, Double]

    Permalink
    Definition Classes
    GenCodec → Encoder
  30. def emap[C](f: (Double) ⇒ Attempt[C]): GenCodec[Double, C]

    Permalink
    Definition Classes
    GenCodec → Decoder
  31. def encode(value: Double): Attempt[BitVector]

    Permalink
    Definition Classes
    QuantizedDoubleCodec → Encoder
  32. def encodeOnly: Codec[Double]

    Permalink
    Definition Classes
    Encoder
  33. def ensuring(cond: (QuantizedDoubleCodec) ⇒ Boolean, msg: ⇒ Any): QuantizedDoubleCodec

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to Ensuring[QuantizedDoubleCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  37. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def exmap[B](f: (Double) ⇒ Attempt[B], g: (B) ⇒ Attempt[Double]): Codec[B]

    Permalink
    Definition Classes
    Codec
  40. def exmapc[B](f: (Double) ⇒ Attempt[B])(g: (B) ⇒ Attempt[Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  41. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. def flatMap[B](f: (Double) ⇒ Decoder[B]): Decoder[B]

    Permalink
    Definition Classes
    Decoder
  43. def flatPrepend[L <: HList](f: (Double) ⇒ Codec[L]): Codec[::[Double, L]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithHListSupport[Double] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  44. final def flatZip[B](f: (Double) ⇒ Codec[B]): Codec[(Double, B)]

    Permalink
    Definition Classes
    Codec
  45. def flatZipHList[B](f: (Double) ⇒ Codec[B]): Codec[::[Double, ::[B, HNil]]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithHListSupport[Double] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  46. final def flattenLeftPairs(implicit f: FlattenLeftPairs[Double]): Codec[Out]

    Permalink
    Definition Classes
    Codec
  47. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to StringFormat[QuantizedDoubleCodec] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  48. final def fuse[AA <: Double, BB >: Double](implicit ev: =:=[BB, AA]): Codec[BB]

    Permalink
    Definition Classes
    GenCodec
  49. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  51. final def hlist: Codec[::[Double, HNil]]

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

    Permalink
    Definition Classes
    Any
  53. def map[C](f: (Double) ⇒ C): GenCodec[Double, C]

    Permalink
    Definition Classes
    GenCodec → Decoder
  54. final def narrow[B](f: (Double) ⇒ Attempt[B], g: (B) ⇒ Double): Codec[B]

    Permalink
    Definition Classes
    Codec
  55. def narrowc[B](f: (Double) ⇒ Attempt[B])(g: (B) ⇒ Double): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  56. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  58. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  59. final def pairedWith[B](codecB: Codec[B]): Codec[(Double, B)]

    Permalink
    Definition Classes
    Codec
  60. def pcontramap[C](f: (C) ⇒ Option[Double]): GenCodec[C, Double]

    Permalink
    Definition Classes
    GenCodec → Encoder
  61. def polyxmap[B](p: Poly, q: Poly)(implicit aToB: Aux[p.type, ::[Double, HNil], B], bToA: Aux[q.type, ::[B, HNil], Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithGenericSupport[Double] performed by method ValueCodecEnrichedWithGenericSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithGenericSupport
  62. def polyxmap1[B](p: Poly)(implicit aToB: Aux[p.type, ::[Double, HNil], B], bToA: Aux[p.type, ::[B, HNil], Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithGenericSupport[Double] performed by method ValueCodecEnrichedWithGenericSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithGenericSupport
  63. def selectEncoder[A](implicit inj: Inject[Coproduct with Double, A]): Encoder[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to EnrichedCoproductEncoder[Coproduct with Double] performed by method EnrichedCoproductEncoder in scodec.
    Definition Classes
    EnrichedCoproductEncoder
  64. def sizeBound: SizeBound

    Permalink
    Definition Classes
    QuantizedDoubleCodec → Encoder
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  66. def toField[K]: Codec[FieldType[K, Double]]

    Permalink
    Definition Classes
    Codec
  67. def toFieldWithContext[K <: Symbol](k: K): Codec[FieldType[K, Double]]

    Permalink
    Definition Classes
    Codec
  68. def toString(): String

    Permalink
    Definition Classes
    QuantizedDoubleCodec → AnyRef → Any
  69. final def unit(zero: Double): Codec[Unit]

    Permalink
    Definition Classes
    Codec
  70. final def upcast[B >: Double](implicit ta: Typeable[Double]): Codec[B]

    Permalink
    Definition Classes
    Codec
  71. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def widen[B](f: (Double) ⇒ B, g: (B) ⇒ Attempt[Double]): Codec[B]

    Permalink
    Definition Classes
    Codec
  75. def widenOpt[B](f: (Double) ⇒ B, g: (B) ⇒ Option[Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  76. def widenOptc[B](f: (Double) ⇒ B)(g: (B) ⇒ Option[Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  77. def widenc[B](f: (Double) ⇒ B)(g: (B) ⇒ Attempt[Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  78. final def withContext(context: String): Codec[Double]

    Permalink
    Definition Classes
    Codec
  79. final def withToString(str: ⇒ String): Codec[Double]

    Permalink
    Definition Classes
    Codec
  80. final def xmap[B](f: (Double) ⇒ B, g: (B) ⇒ Double): Codec[B]

    Permalink
    Definition Classes
    Codec
  81. def xmapc[B](f: (Double) ⇒ B)(g: (B) ⇒ Double): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  82. final def ~[B](codecB: Codec[B]): Codec[(Double, B)]

    Permalink
    Definition Classes
    Codec
  83. final def ~>[B](codecB: Codec[B])(implicit ev: =:=[Unit, Double]): Codec[B]

    Permalink
    Definition Classes
    Codec
  84. def ~~[B](B: Codec[B]): TupleCodec[Double, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to Tuple2CodecSupport[Double] performed by method Tuple2CodecSupport in scodec.
    Definition Classes
    Tuple2CodecSupport
  85. def [B](y: B): (QuantizedDoubleCodec, B)

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

Shadowed Implicit Value Members

  1. def exmap[B](f: (Double) ⇒ Attempt[B], g: (B) ⇒ Attempt[Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    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:
    (quantizedDoubleCodec: TransformSyntax[Codec, Double]).exmap(f, g)
    Definition Classes
    TransformSyntax
  2. def narrow[B](f: (Double) ⇒ Attempt[B], g: (B) ⇒ Double): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    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:
    (quantizedDoubleCodec: TransformSyntax[Codec, Double]).narrow(f, g)
    Definition Classes
    TransformSyntax
  3. val self: Codec[Double]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithHListSupport[Double] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    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:
    (quantizedDoubleCodec: ValueCodecEnrichedWithHListSupport[Double]).self
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  4. val self: Codec[Double]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    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:
    (quantizedDoubleCodec: TransformSyntax[Codec, Double]).self
    Definition Classes
    TransformSyntax
  5. val self: Codec[Double]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to Tuple2CodecSupport[Double] performed by method Tuple2CodecSupport in scodec.
    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:
    (quantizedDoubleCodec: Tuple2CodecSupport[Double]).self
    Definition Classes
    Tuple2CodecSupport
  6. val self: Encoder[Coproduct with Double]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to EnrichedCoproductEncoder[Coproduct with Double] performed by method EnrichedCoproductEncoder in scodec.
    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:
    (quantizedDoubleCodec: EnrichedCoproductEncoder[Coproduct with Double]).self
    Definition Classes
    EnrichedCoproductEncoder
  7. val self: Codec[Double]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to ValueCodecEnrichedWithGenericSupport[Double] performed by method ValueCodecEnrichedWithGenericSupport in scodec.
    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:
    (quantizedDoubleCodec: ValueCodecEnrichedWithGenericSupport[Double]).self
    Definition Classes
    ValueCodecEnrichedWithGenericSupport
  8. def widen[B](f: (Double) ⇒ B, g: (B) ⇒ Attempt[Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    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:
    (quantizedDoubleCodec: TransformSyntax[Codec, Double]).widen(f, g)
    Definition Classes
    TransformSyntax
  9. def xmap[B](f: (Double) ⇒ B, g: (B) ⇒ Double): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    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:
    (quantizedDoubleCodec: TransformSyntax[Codec, Double]).xmap(f, g)
    Definition Classes
    TransformSyntax

Deprecated Value Members

  1. def pxmap[B](f: (Double) ⇒ B, g: (B) ⇒ Option[Double]): Codec[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from QuantizedDoubleCodec to TransformSyntax[Codec, Double] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7.0) Use widenOpt instead

Inherited from Codec[Double]

Inherited from GenCodec[Double, Double]

Inherited from Decoder[Double]

Inherited from Encoder[Double]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ValueCodecEnrichedWithHListSupport from QuantizedDoubleCodec to ValueCodecEnrichedWithHListSupport[Double]

Inherited by implicit conversion TransformSyntax from QuantizedDoubleCodec to TransformSyntax[Codec, Double]

Inherited by implicit conversion Tuple2CodecSupport from QuantizedDoubleCodec to Tuple2CodecSupport[Double]

Inherited by implicit conversion EnrichedCoproductEncoder from QuantizedDoubleCodec to EnrichedCoproductEncoder[Coproduct with Double]

Inherited by implicit conversion ValueCodecEnrichedWithGenericSupport from QuantizedDoubleCodec to ValueCodecEnrichedWithGenericSupport[Double]

Inherited by implicit conversion any2stringadd from QuantizedDoubleCodec to any2stringadd[QuantizedDoubleCodec]

Inherited by implicit conversion StringFormat from QuantizedDoubleCodec to StringFormat[QuantizedDoubleCodec]

Inherited by implicit conversion Ensuring from QuantizedDoubleCodec to Ensuring[QuantizedDoubleCodec]

Inherited by implicit conversion ArrowAssoc from QuantizedDoubleCodec to ArrowAssoc[QuantizedDoubleCodec]

Ungrouped