On this page

ReadFileFs(path, options, callback): void
Attributes
options:{ encoding?: null; flag?: string } & Abortable | null | undefined
callback:(err: ErrnoException | null, result?: Buffer<ArrayBufferLike>) => void
ReadFileFs(path, options, callback): void
Attributes
options:"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | { encoding: BufferEncoding; flag?: string } & Abortable
callback:(err: ErrnoException | null, result?: string) => void
ReadFileFs(path, options, callback): void
Attributes
options:"ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsFs & { flag?: string } & Abortable | null | undefined
callback:(err: ErrnoException | null, result?: string | Buffer<ArrayBufferLike>) => void
ReadFileFs(path, callback): void
Attributes
callback:(err: ErrnoException | null, result?: Buffer<ArrayBufferLike>) => void