overwolf.io.readFileContents
Overwolf APIs / overwolf / overwolf / io / readFileContents
function readFileContents(
filePath: string,
encoding: eEncoding,
callback: CallbackFunction<ReadFileContentsResult>,
): void;
Read the content to the target file.
Parameters
| Parameter | Type | Description |
|---|---|---|
filePath | string | The full path of the file to write to. |
encoding | eEncoding | The encoding to use, see more at |
callback | CallbackFunction<ReadFileContentsResult> | Called with the status of the request and the file content. |
Returns
void