BitWriter.reset

void reset()

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