Packages

final class Transformed[A, B] extends GenObjectCodec[A]

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

Instance Constructors

  1. new Transformed(wrapped: GenObjectCodec[B], onWrite: (A) ⇒ B, onRead: (B) ⇒ A)

Value Members

  1. def read(input: Input): A

    Deserializes a value of type T from an Input.

    Deserializes a value of type T from an Input.

    Definition Classes
    GenObjectCodecGenCodec
  2. def readObject(input: ObjectInput): A
    Definition Classes
    TransformedGenObjectCodec
  3. final def transform[U](onWrite: (U) ⇒ A, onRead: (A) ⇒ 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
  4. val wrapped: GenObjectCodec[B]
  5. def write(output: Output, value: A): Unit

    Serializes a value of type T into an Output.

    Serializes a value of type T into an Output.

    Definition Classes
    GenObjectCodecGenCodec
  6. def writeObject(output: ObjectOutput, value: A): Unit
    Definition Classes
    TransformedGenObjectCodec