Called by the OutputStreamAdapter with the data that should be written.
The data that should be written.