duplicate

open fun duplicate(): Buffer

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