serialize

open override fun serialize(buffer: ChainedByteBuffer, data: BufferId, featureSet: FeatureSet)

Serialize data with the Quassel protocol to a buffer

Parameters

buffer

target buffer to serialize to

data

value to serialize

featureSet

features to use when serializing, usually the featureset of the currently negotiated connection