final class Deferred[T] extends DeferredInstance[GenObjectCodec[T]] with GenObjectCodec[T]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Deferred
- GenObjectCodec
- GenCodec
- DeferredInstance
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Deferred()
Value Members
-
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
- GenObjectCodec → GenCodec
-
def
readObject(input: ObjectInput): T
- Definition Classes
- Deferred → GenObjectCodec
-
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
-
val
underlying: GenObjectCodec[T]
- Definition Classes
- DeferredInstance
-
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
- GenObjectCodec → GenCodec
-
def
writeObject(output: ObjectOutput, value: T): Unit
- Definition Classes
- Deferred → GenObjectCodec