final class Deferred[T] extends DeferredInstance[GenCodec[T]] with GenCodec[T]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Deferred
- 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. -
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: GenCodec[T]
- Definition Classes
- DeferredInstance
-
def
write(output: Output, value: T): Unit
Serializes a value of type
T
into an Output.