final class Transformed[A, B] extends GenCodec[A]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Transformed
- GenCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
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
- Transformed → GenCodec
-
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
- val wrapped: GenCodec[B]
-
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
- Transformed → GenCodec