appendBytes(const OSData *)
Appends the data contained in another OSData object.
Declaration
virtual bool appendBytes(
const OSData *aDataObj);Parameters
- aDataObj:
The OSData object whose contents will be appended.
Return Value
true if the new data was successfully added, false on failure.
Overview
This function immediately resizes the OSData's buffer, if necessary, to accommodate the new total size.
An OSData object created "NoCopy" does not allow bytes to be appended.
See Also
Miscellaneous
appendByteappendBytes(const void *, unsigned int)ensureCapacityfreegetBytesNoCopy()getBytesNoCopy(unsigned int, unsigned int)getCapacitygetCapacityIncrementgetLengthinitWithBytesinitWithBytesNoCopyinitWithCapacityinitWithData(const OSData *)initWithData(const OSData *, unsigned int, unsigned int)isEqualTo(const OSData *)isEqualTo(const OSMetaClassBase *)isEqualTo(const OSString *)isEqualTo(const void *, unsigned int)serializesetCapacityIncrementwithByteswithBytesNoCopywithCapacitywithData(const OSData *)withData(const OSData *, unsigned int, unsigned int)