copyBytesFrom
abstract fun copyBytesFrom(view: PolyglotValue, offset: Int? = null, length: Int? = null): BufferInstance
Allocates a new Buffer instance using the data from a view (a TypedArray
object). Optional offset and length parameters can be used to restrict the window of data copied from the view.