ByteWriter.freeAndGetData

ubyte * freeAndGetData()

Frees writer and all memory allocated by it except the current data, which is returned.

Free-function: g_free

Returns

the current data. glib.global.gfree after usage.