dev.hnaderi.namedcodec

Members list

Concise view

Type members

Classlikes

trait CodecAdapter[Enc[_], Dec[_], R]

Attributes

Source:
NamedCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
final case class EncodedMessage[R](name: String, data: R)

Attributes

Source:
NamedCodec.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
trait NamedCodec[A, R] extends NamedEncoder[A, R] with NamedDecoder[A, R]

Attributes

Companion:
object
Source:
NamedCodec.scala
Graph
Supertypes
trait NamedDecoder[A, R]
trait NamedEncoder[A, R]
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
trait
Source:
NamedCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
transparent trait NamedCodecPlatform

Attributes

Companion:
object
Source:
NamedCodecPlatform.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NamedCodec.type

Attributes

Companion:
trait
Source:
NamedCodecPlatform.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait NamedDecoder[A, R]

Attributes

Source:
NamedCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait NamedCodec[A, R]
Self type
trait NamedEncoder[A, R]

Attributes

Companion:
object
Source:
NamedCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait NamedCodec[A, R]
Self type

Attributes

Companion:
trait
Source:
NamedCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final case class TypeName[T](value: String) extends AnyVal

Attributes

Companion:
object
Source:
NamedCodec.scala
Graph
Supertypes
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
object TypeName extends TypeNamePlatform

Attributes

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

Attributes

Source:
TypeLabelPlatform.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TypeName.type

Value members

Concrete methods

def typeName[T](using tn: TypeName[T]): String

Attributes

Source:
package.scala

Extensions

Extensions

extension [Enc[_], Dec[_], R](adapter: CodecAdapter[Enc, Dec, R])
inline def of[T : Of]: NamedCodec[T, R]

Attributes

Source:
NamedCodecPlatform.scala
inline def of[T : Of](transform: String => String): NamedCodec[T, R]

Attributes

Source:
NamedCodecPlatform.scala