TupleCodec

mcodec.StdCodecs.TupleCodec
protected class TupleCodec[T <: Tuple](codecs: List[MCodec[Any]]) extends ListCodec[T]

Attributes

Source
StdCodecs.scala
Graph
Supertypes
trait ListCodec[T]
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def readList(in: ListInput): T

Attributes

Source
StdCodecs.scala
def writeList(out: ListOutput, value: T): Unit

Attributes

Source
StdCodecs.scala

Inherited methods

final def nullable: MCodec[T | Null]

Attributes

Inherited from:
MCodec
Source
MCodec.scala
final def read(input: Input): T

Attributes

Inherited from:
NullSafeCodec
Source
BaseCodecs.scala
final def readNonNull(input: Input): T

Attributes

Inherited from:
ListCodec
Source
BaseCodecs.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
final def write(output: Output, value: T): Unit

Attributes

Inherited from:
NullSafeCodec
Source
BaseCodecs.scala
final def writeNonNull(output: Output, value: T): Unit

Attributes

Inherited from:
ListCodec
Source
BaseCodecs.scala