Module

std/node/fs.ts>readSync

Deno standard library
Go to Latest
function readSync
import { readSync } from "https://dotland.deno.dev/std@0.177.0/node/fs.ts";

Parameters

fd: number
buffer: Buffer | Uint8Array
offset: number
length: number
position: number | null

Returns

number

Parameters

fd: number
buffer: Buffer | Uint8Array
opt: readSyncOptions

Returns

number
import readSync
import { readSync } from "https://dotland.deno.dev/std@0.177.0/node/fs.ts";