ManualCodecs

mcodec.ManualCodecs
trait ManualCodecs

Attributes

Source
ManualCodecs.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MCodec

Members list

Value members

Concrete methods

def createList[T](r: ListInput => T, w: (ListOutput, T) => Unit): MCodec[T]

Attributes

Source
ManualCodecs.scala
def createObject[T](r: ObjectInput => T, w: (ObjectOutput, T) => Unit): MCodec[T]

Attributes

Source
ManualCodecs.scala
def createSimple[T](r: SimpleInput => T, w: (SimpleOutput, T) => Unit): MCodec[T]

Attributes

Source
ManualCodecs.scala
def fromKeyCodec[T](using kc: MKeyCodec[T]): MCodec[T]

Attributes

Source
ManualCodecs.scala
def nonNullString[T](r: String => T, w: T => String): MCodec[T]

Attributes

Source
ManualCodecs.scala
def subclassCodec[T, S](narrow: S => Option[T], widen: T => S)(using parent: MCodec[S]): MCodec[T]

Attributes

Source
ManualCodecs.scala
def subclassCodec[T <: S, S](using evidence$1: ClassTag[T], parent: MCodec[S]): MCodec[T]

Attributes

Source
ManualCodecs.scala