Contents

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