ktor-io / io.ktor.utils.io.core / Buffer / reset

reset

open fun reset(): Unit

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