NullSafeCodec

mcodec.NullSafeCodec
trait NullSafeCodec[T] extends MCodec[T]

Attributes

Source
BaseCodecs.scala
Graph
Supertypes
trait MCodec[T]
class Object
trait Matchable
class Any
Known subtypes
trait ListCodec[T]
class StdCodecs.this.PairsMapCodec[K, V]
class StdCodecs.this.TupleCodec[T]
trait ObjectCodec[T]
class FlatSumCodec[T]
class StdCodecs.this.ObjectMapCodec[K, V]
class NestedSumCodec[T]
class ProductCodec[T]
class SingletonCodec[T]
trait SimpleCodec[T]
class EnumStringCodec[T]
object StdCodecs.this.bigIntCodec
object StdCodecs.this.booleanCodec
object StdCodecs.this.byteCodec
object StdCodecs.this.charCodec
object StdCodecs.this.dateCodec
object StdCodecs.this.doubleCodec
object StdCodecs.this.floatCodec
object StdCodecs.this.intCodec
object StdCodecs.this.longCodec
object StdCodecs.this.shortCodec
object StdCodecs.this.stringCodec
object StdCodecs.this.symbolCodec
object StdCodecs.this.uuidCodec
Show all

Members list

Value members

Abstract methods

def readNonNull(input: Input): T

Attributes

Source
BaseCodecs.scala
def writeNonNull(output: Output, value: T): Unit

Attributes

Source
BaseCodecs.scala

Concrete methods

final def read(input: Input): T

Attributes

Source
BaseCodecs.scala
final def write(output: Output, value: T): Unit

Attributes

Source
BaseCodecs.scala

Inherited methods

final def nullable: MCodec[T | Null]

Attributes

Inherited from:
MCodec
Source
MCodec.scala
final inline def transform[U](inline onWrite: U => T, inline onRead: T => U): MCodec[U]

Attributes

Inherited from:
MCodec
Source
MCodec.scala
final def transformed[U](onRead: T => U)(onWrite: U => T): MCodec[U]

Attributes

Inherited from:
MCodec
Source
MCodec.scala