resetWrite method

void resetWrite()

Resets the read and write positions markers to the start of the buffer.

Implementation

void resetWrite() => _writePos = 0;