trait ListCodec[T] extends NullSafeCodec[T]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ListCodec
- NullSafeCodec
- GenCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
nullable: Boolean
- Definition Classes
- NullSafeCodec
- abstract def readList(input: ListInput): T
- abstract def writeList(output: ListOutput, value: T): Unit
Concrete Value Members
-
final
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
- NullSafeCodec → GenCodec
-
final
def
readNonNull(input: Input): T
- Definition Classes
- ListCodec → NullSafeCodec
-
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
-
final
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
- NullSafeCodec → GenCodec
-
final
def
writeNonNull(output: Output, value: T): Unit
- Definition Classes
- ListCodec → NullSafeCodec