Module

std/node/fs.ts>read

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

Parameters

fd: number
callback: Callback

Parameters

fd: number
options: readOptions
callback: Callback

Parameters

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

Parameters

fd: number
optional
optOrBuffer:
| Buffer
| Uint8Array
| readOptions
| Callback
optional
offsetOrCallback: number | Callback
optional
length: number
optional
position: number | null
optional
callback: Callback
import read
import { read } from "https://dotland.deno.dev/std@0.145.0/node/fs.ts";