Skip to main content
Module

x/uuid/lib/lib.deno_runtime.d.ts>Deno.seekSync

Deprecated! UUID is part of the deno standard library
Latest
function Deno.seekSync
import { Deno } from "https://deno.land/x/uuid@v0.1.2/lib/lib.deno_runtime.d.ts";
const { seekSync } = Deno;

Seek a file ID synchronously to the given offset under mode given by whence.

  const file = Deno.openSync("/foo/bar.txt");
  Deno.seekSync(file.rid, 0, 0);

Parameters

rid: number
offset: number
whence: SeekMode