ByteWriter.reset

void reset() nothrow

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