Packages

trait GenObjectCodec[T] extends GenCodec[T]

Subtype of GenCodec which captures serialization to an "object", i.e. through ObjectOutput and ObjectInput.

Annotations
@implicitNotFound( "No GenObjectCodec found for ${T}" )
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenObjectCodec
  2. GenCodec
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def readObject(input: ObjectInput): T
  2. abstract def writeObject(output: ObjectOutput, value: T): Unit

Concrete Value Members

  1. 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
    GenObjectCodecGenCodec
  2. 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
  3. 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
    GenObjectCodecGenCodec