clear

abstract fun clear()

Clears (resets) the buffer so that it can be reused. Write position will be set to the start.