Resets writer and returns the current data.
Free-function: g_free
the current data. g_free() after usage.
Resets writer and returns the current data.
Free-function: g_free