Skip to main content
Deno.UnsafePointerView.copyInto - Deno documentation
method Deno.UnsafePointerView.copyInto
UnsafePointerView.copyInto(
pointer: PointerObject,
destination: BufferSource,
offset?: number,
): void

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

Return Type

void
Back to top