reset

open fun reset(): Unit

Clear buffer’s state: read/write positions, gaps and so on. Byte content is not cleaned-up.