subarray

open override fun subarray(start: Int?, end: Int?): BufferInstance

Returns a new Buffer instance as a view of this buffer's contents in the given range. Updates to this buffer's data are visible to the returned instance.