serialize

open override fun serialize(buffer: ChainedByteBuffer, data: TransferIdList, 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