encode(_:)
Encodes a given data object.
Declaration
func encode(_ data: Data)Discussion
Subclasses must override this method.
This method must be matched by a subsequent decodeData() message.
See Also
Encoding General Data
encodeArray(ofObjCType:count:at:)encode(_:forKey:)encodeBycopyObject(_:)encodeByrefObject(_:)encodeBytes(_:length:)encodeBytes(_:length:forKey:)encodeConditionalObject(_:)encodeConditionalObject(_:forKey:)encode(_:forKey:)encode(_:forKey:)encodeCInt(_:forKey:)encode(_:forKey:)encode(_:forKey:)encode(_:forKey:)encode(_:)