object ArrayBasedCodecs
- Alphabetic
- By Inheritance
- ArrayBasedCodecs
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- macro def deriveCodec[T]: Codec[T]
Macro that creates an Encoder and Decoder pair for T.
Macro that creates an Encoder and Decoder pair for T. Convenience shortcut for
Codec(deriveEncoder[T], deriveDecoder[T])". - macro def deriveDecoder[T]: Decoder[T]
Macro that creates a Decoder for T provided that - T is a
case class,sealed abstract classorsealed trait- Decoder instances for all members of T (if T is acase class) or all sub-types of T (if T is an ADT) are implicitly availableMacro that creates a Decoder for T provided that - T is a
case class,sealed abstract classorsealed trait- Decoder instances for all members of T (if T is acase class) or all sub-types of T (if T is an ADT) are implicitly availableCase classes are created from an array of deserialized values, one value for each member.
NOTE: If
Tis unary (i.e. only has a single member) then the member value is expected in an unwrapped form, i.e. without the array container. - macro def deriveEncoder[T]: Encoder[T]
Macro that creates an Encoder for T provided that - T is a
case class,sealed abstract classorsealed trait- Encoder instances for all members of T (if T is acase class) or all sub-types of T (if T is an ADT) are implicitly availableMacro that creates an Encoder for T provided that - T is a
case class,sealed abstract classorsealed trait- Encoder instances for all members of T (if T is acase class) or all sub-types of T (if T is an ADT) are implicitly availableCase classes are converted into an array of values, one value for each member.
NOTE: If
Tis unary (i.e. only has a single member) then the member value is written in an unwrapped form, i.e. without the array container. - macro def deriveUnaryCodec[T]: Codec[T]
Same as
deriveCodec[T]but doesn't compile if T is not a unary case class, i.e.Same as
deriveCodec[T]but doesn't compile if T is not a unary case class, i.e. a case class with exactly one member. - macro def deriveUnaryDecoder[T]: Decoder[T]
Same as
deriveDecoder[T]but doesn't compile if T is not a unary case class, i.e.Same as
deriveDecoder[T]but doesn't compile if T is not a unary case class, i.e. a case class with exactly one member. - macro def deriveUnaryEncoder[T]: Encoder[T]
Same as
deriveEncoder[T]but doesn't compile if T is not a unary case class, i.e.Same as
deriveEncoder[T]but doesn't compile if T is not a unary case class, i.e. a case class with exactly one member. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()