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

Copies the memory of the pointer into a typed array.

Length is determined from the typed array's byteLength.

Also takes optional byte offset from the pointer.

Parameters

destination: BufferSource
optional
offset: number

Return Type

void