Bugfix: data buffer pointer was not passed by reference->broke if buffer was resized in writeCreamData