PrimitiveCodec
wvlet.airframe.codec.PrimitiveCodec$
object PrimitiveCodec
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- PrimitiveCodec.type
Members list
Concise view
Type members
Classlikes
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- AnyArrayCodec.type
class AnyCodec(codecFactory: MessageCodecFactory, knownSurfaces: Seq[Surface]) extends MessageCodec[Any]
Codec for Any values. This only supports very basic types to enable packing/unpacking collections like Seq[Any], Map[Any, Any] at ease.
Codec for Any values. This only supports very basic types to enable packing/unpacking collections like Seq[Any], Map[Any, Any] at ease.
Another option to implement AnyCodec is packing pairs of (type, value), but we will not take this approach as this will require many bytes to fully encode type names.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait MessageCodec[Any]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
object AnyCodec
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[BigInt]trait MessageCodec[BigInt]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- BigIntCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[BigInteger]trait MessageCodec[BigInteger]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- BigIntegerCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- BooleanArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Boolean]trait MessageCodec[Boolean]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- BooleanCodec.type
Attributes
- Graph
- Supertypes
- trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- ByteArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Byte]trait MessageCodec[Byte]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- ByteCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- CharArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Char]trait MessageCodec[Char]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- CharCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- DoubleArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Double]trait MessageCodec[Double]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- DoubleCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- FloatArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Float]trait MessageCodec[Float]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- FloatCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- IntArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Int]trait MessageCodec[Int]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- IntCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- LongArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Long]trait MessageCodec[Long]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- LongCodec.type
trait PrimitiveArrayCodec
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object AnyArrayCodec.typeobject BooleanArrayCodec.typeobject CharArrayCodec.typeobject DoubleArrayCodec.typeobject FloatArrayCodec.typeobject IntArrayCodec.typeobject LongArrayCodec.typeobject ShortArrayCodec.typeobject StringArrayCodec.type
- Self type
- MessageCodec[_]
Attributes
- Graph
- Supertypes
- trait MessageCodec[A]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
- object BigIntCodec.typeobject BigIntegerCodec.typeobject BooleanCodec.typeobject ByteCodec.typeobject CharCodec.typeobject DoubleCodec.typeobject FloatCodec.typeobject IntCodec.typeobject LongCodec.typeobject ShortCodec.typeobject StringCodec.typeobject UnitCodec.type
Attributes
- Graph
- Supertypes
- trait MessageCodec[MsgPack]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- RawMsgPackCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- ShortArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Short]trait MessageCodec[Short]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- ShortCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveArrayCodectrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- StringArrayCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[String]trait MessageCodec[String]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- StringCodec.type
Attributes
- Graph
- Supertypes
- trait PrimitiveCodec[Unit]trait MessageCodec[Unit]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- UnitCodec.type
MessagePack value codec
MessagePack value codec
Attributes
- Graph
- Supertypes
- trait MessageCodec[Value]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- ValueCodec.type
Value members
Concrete fields
val primitiveArrayCodec: Map[Surface, MessageCodec[_ >: Array[Float] & Array[Double] & Array[Boolean] & Array[Short] & Array[Char] & Array[Int] & Array[Long] & Array[String] & Array[Byte] & Array[Any] <: Array[Float] | Array[Double] | Array[Boolean] | Array[Short] | Array[Char] | Array[Int] | Array[Long] | Array[String] | Array[Byte] | Array[Any]]]