import { Deno } from "https://deno.land/x/deno@v0.28.0/cli/js/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);