API reference › @evolu/common › Fs › FsReadFile
Defined in: packages/common/src/Fs.ts:230
Reads bytes by default, or text when an encoding is specified.
Call Signature
FsReadFile(path: FsPath): Task<Uint8Array<ArrayBufferLike>, FsError>;
Defined in: packages/common/src/Fs.ts:231
Reads bytes by default, or text when an encoding is specified.
Call Signature
FsReadFile(path: FsPath, encoding:
| FsEncoding
| {
encoding: FsEncoding;
}): Task<string, FsError>;
Defined in: packages/common/src/Fs.ts:232
Reads bytes by default, or text when an encoding is specified.