Skip to main content

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

ParameterTypeDescription
filePathstringThe full path of the file to write to.
encodingeEncodingThe encoding to use, see more at
callbackCallbackFunction<ReadFileContentsResult>Called with the status of the request and the file content.

Returns

void