copyBytesFrom
BufferConstructor.copyBytesFrom
**copyBytesFrom**(view, offset?, length?): [Buffer](/references/product/variables/Buffer-1)
Copies the underlying memory of view into a new Buffer.
Parameters
The {TypedArray} to copy.
offsetnumberThe starting offset within 
view.lengthnumberThe number of elements from 
view to copy.Returns
Since
v19.8.0
Was this section helpful?