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

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

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

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

Parameters

pointer: PointerValue
optional
offset: number

Returns

string