Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.PointerObject

A modern runtime for JavaScript and TypeScript.
Go to Latest
type alias Deno.PointerObject
import { type Deno } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.unstable.d.ts";
const { PointerObject } = Deno;

UNSTABLE: New API, yet to be vetted.

A non-null pointer, represented as an object at runtime. The object's prototype is null and cannot be changed. The object cannot be assigned to either and is thus entirely read-only.

To interact with memory through a pointer use the UnsafePointerView class. To create a pointer from an address or the get the address of a pointer use the static methods of the UnsafePointer class.

Type Parameters

optional
T = unknown
definition: { [brand]: T; }