serialize
open override fun serialize(buffer: ChainedByteBuffer, data: NetworkId, featureSet: FeatureSet)
Content copied to clipboard
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