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

x/deno/cli/dts/lib.deno.unstable.d.ts>Deno.UnsafePointerView#copyInto

A modern runtime for JavaScript and TypeScript.
Go to Latest
method Deno.UnsafePointerView.prototype.copyInto
import { Deno } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.unstable.d.ts";
const { UnsafePointerView } = Deno;

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