Packages

class SubclassCodec[T, S >: T] extends NullSafeCodec[T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubclassCodec
  2. NullSafeCodec
  3. GenCodec
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubclassCodec(nullable: Boolean)(implicit arg0: commons.ClassTag[T], arg1: GenCodec[S])

Value Members

  1. val nullable: Boolean
    Definition Classes
    SubclassCodecNullSafeCodec
  2. final def read(input: Input): T

    Deserializes a value of type T from an Input.

    Deserializes a value of type T from an Input.

    Definition Classes
    NullSafeCodecGenCodec
  3. def readNonNull(input: Input): T
    Definition Classes
    SubclassCodecNullSafeCodec
  4. final def transform[U](onWrite: (U) ⇒ T, onRead: (T) ⇒ U): GenCodec[U]

    Transforms this codec into a codec of other type using a bidirectional conversion between the original and new type.

    Transforms this codec into a codec of other type using a bidirectional conversion between the original and new type.

    Definition Classes
    GenCodec
  5. final def write(output: Output, value: T): Unit

    Serializes a value of type T into an Output.

    Serializes a value of type T into an Output.

    Definition Classes
    NullSafeCodecGenCodec
  6. def writeNonNull(output: Output, value: T): Unit
    Definition Classes
    SubclassCodecNullSafeCodec