BitWriter.reset

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

class BitWriter
void
reset
()