clearData

clearData clears the current data that is to be passed to the started transaction.

void clearData()

The data was set using setData or registerData.

If the data was set using registerData, only the pointer to the data is removed, the data in the buffer is left unchanged.

If the data was set using setData, then clearData releases the memory used by the buffer.