encodeBytes(_:length:)
Encodes a buffer of data of an unspecified type.
Declaration
func encodeBytes(_ byteaddr: UnsafeRawPointer?, length: Int)Discussion
The buffer to be encoded begins at address, and its length in bytes is given by numBytes.
This method must be matched by a corresponding decodeBytes(withReturnedLength:) message.
See Also
Encoding General Data
encodeArray(ofObjCType:count:at:)encode(_:forKey:)encodeBycopyObject(_:)encodeByrefObject(_:)encodeBytes(_:length:forKey:)encodeConditionalObject(_:)encodeConditionalObject(_:forKey:)encode(_:)encode(_:forKey:)encode(_:forKey:)encodeCInt(_:forKey:)encode(_:forKey:)encode(_:forKey:)encode(_:forKey:)encode(_:)