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

duplicate

open fun duplicate(): Buffer

Create a new Buffer instance pointing to the same memory and having the same positions.