UNPKG

@thi.ng/file-io

Version:

Assorted file I/O utils (with logging support) for NodeJS/Bun

9 lines 268 B
import type { ILogger } from "@thi.ng/logger"; /** * Reads given file `path` into a byte array. * * @param path * @param logger */ export declare const readBinary: (path: string, logger?: ILogger) => Uint8Array<ArrayBufferLike>; //# sourceMappingURL=read.d.ts.map