Home > @rushstack/node-core-library > FileSystem > readFileToBufferAsync
FileSystem.readFileToBufferAsync() method
An async version of FileSystem.readFileToBuffer().
Signature:
static readFileToBufferAsync(filePath: string): Promise<Buffer>;
Parameters
Parameter | Type | Description |
---|---|---|
filePath | string |
Returns:
Promise<Buffer>