ktor-io / io.ktor.utils.io.core.internal / ChunkBuffer / duplicate

duplicate

open fun duplicate(): ChunkBuffer

Overrides Buffer.duplicate

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