Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method Deno.UnsafePointerView.copyInto

Copies the memory of the specified pointer into a typed array.

Length is determined from the typed array's byteLength.

Also takes optional byte offset from the pointer.

Parameters

pointer: PointerObject
destination: BufferSource
optional
offset: number