Packages

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

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

Instance Constructors

  1. new Transformed(wrapped: GenCodec[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
    TransformedGenCodec
  2. 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
  3. val wrapped: GenCodec[B]
  4. 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
    TransformedGenCodec