VoidSerializer

object VoidSerializer : PrimitiveSerializer<Unit>

Serializer for empty data

Functions

Link copied to clipboard
open override fun deserialize(buffer: ByteBuffer, featureSet: FeatureSet)

Deserialize Quassel protocol data from a buffer

Link copied to clipboard
open override fun serialize(buffer: ChainedByteBuffer, data: Unit, featureSet: FeatureSet)

Serialize data with the Quassel protocol to a buffer

Properties

Link copied to clipboard
open override val javaType: Class<out Unit>

The underlying Java type this Serializer can (de-)serialize. Used for type-safe serializer autodiscovery.