ByteWriter.reset

Resets writer and frees the data if it's owned by writer.

class ByteWriter
void
reset
()