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

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.UnsafePointerView.getCString

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

Gets a C string (null terminated string) at the specified byte offset from the specified pointer.

Parameters

pointer: PointerObject
optional
offset: number

Returns

string