Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.UnsafePointer.offset

A modern runtime for JavaScript and TypeScript.
Latest
method Deno.UnsafePointer.offset
import { Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { UnsafePointer } = Deno;

Return a new pointer offset from the original by offset bytes.

Type Parameters

optional
T = unknown

Parameters

value: PointerObject
offset: number

Returns

PointerValue<T>