Codec

ldbc.dsl.codec.Codec
See theCodec companion trait
object Codec extends TwiddleSyntax[Codec]

Attributes

Companion
trait
Source
Codec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Codec.type

Members list

Type members

Classlikes

object given_Codec_Array extends Codec[Array[Byte]]

Attributes

Source
Codec.scala
Supertypes
trait Codec[Array[Byte]]
trait Decoder[Array[Byte]]
trait Encoder[Array[Byte]]
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Source
Codec.scala
Supertypes
trait Codec[BigDecimal]
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Source
Codec.scala
Supertypes
trait Codec[Boolean]
trait Decoder[Boolean]
trait Encoder[Boolean]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_Byte extends Codec[Byte]

Attributes

Source
Codec.scala
Supertypes
trait Codec[Byte]
trait Decoder[Byte]
trait Encoder[Byte]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_Double extends Codec[Double]

Attributes

Source
Codec.scala
Supertypes
trait Codec[Double]
trait Decoder[Double]
trait Encoder[Double]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_Float extends Codec[Float]

Attributes

Source
Codec.scala
Supertypes
trait Codec[Float]
trait Decoder[Float]
trait Encoder[Float]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_Int extends Codec[Int]

Attributes

Source
Codec.scala
Supertypes
trait Codec[Int]
trait Decoder[Int]
trait Encoder[Int]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_LocalDate extends Codec[LocalDate]

Attributes

Source
Codec.scala
Supertypes
trait Codec[LocalDate]
trait Decoder[LocalDate]
trait Encoder[LocalDate]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_LocalDateTime extends Codec[LocalDateTime]

Attributes

Source
Codec.scala
Supertypes
trait Codec[LocalDateTime]
trait Decoder[LocalDateTime]
trait Encoder[LocalDateTime]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_LocalTime extends Codec[LocalTime]

Attributes

Source
Codec.scala
Supertypes
trait Codec[LocalTime]
trait Decoder[LocalTime]
trait Encoder[LocalTime]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_Long extends Codec[Long]

Attributes

Source
Codec.scala
Supertypes
trait Codec[Long]
trait Decoder[Long]
trait Encoder[Long]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_None_type extends Codec[None.type]

Attributes

Source
Codec.scala
Supertypes
trait Codec[None.type]
trait Decoder[None.type]
trait Encoder[None.type]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_Short extends Codec[Short]

Attributes

Source
Codec.scala
Supertypes
trait Codec[Short]
trait Decoder[Short]
trait Encoder[Short]
class Object
trait Matchable
class Any
Show all
Self type
object given_Codec_String extends Codec[String]

Attributes

Source
Codec.scala
Supertypes
trait Codec[String]
trait Decoder[String]
trait Encoder[String]
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Source
Codec.scala
Supertypes
trait Invariant[Codec]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Value members

Concrete methods

def apply[A](using codec: Codec[A]): Codec[A]

Attributes

Source
Codec.scala
def derived[P <: Product](using mirror: ProductOf[P], codec: Codec[mirror.MirroredElemTypes]): Codec[P]

Attributes

Source
Codec.scala
inline def derivedEnum[E <: Enum](using mirror: SumOf[E]): Codec[E]

Attributes

Source
Codec.scala

Givens

Givens

given given_Codec_*:[H, T <: Tuple](using dh: Codec[H], dt: Codec[T]): Codec[H *: T]

Attributes

Source
Codec.scala
given given_Codec_A_B[A, B](using ca: Codec[A], cb: Codec[B]): Codec[(A, B)]

Attributes

Source
Codec.scala
given given_Codec_BigInt[A](using codec: Codec[String]): Codec[BigInt]

Attributes

Source
Codec.scala

Attributes

Source
Codec.scala

Attributes

Source
Codec.scala

Attributes

Source
Codec.scala
given given_Codec_Option[A](using codec: Codec[A]): Codec[Option[A]]

Attributes

Source
Codec.scala
given given_Codec_Year[A](using codec: Codec[Int]): Codec[Year]

Attributes

Source
Codec.scala
given given_Codec_YearMonth[A](using codec: Codec[String]): Codec[YearMonth]

Attributes

Source
Codec.scala

Extensions

Inherited extensions

extension [A <: Tuple](fa: Codec[A])
inline def dropUnits(using Invariant[Codec]): Codec[DropUnits[A]]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala

Implicits

Inherited implicits

implicit def toTwiddleOpCons[B <: Tuple](fb: Codec[B]): TwiddleOpCons[Codec, B]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala
implicit def toTwiddleOpTo[A](fa: Codec[A]): TwiddleOpTo[Codec, A]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala
implicit def toTwiddleOpTwo[B](fb: Codec[B]): TwiddleOpTwo[Codec, B]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala