reset

fun reset(): Unit

Overrides Buffer.reset

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