Description:
Writes bytes from luatable to file at a specific file offset.
Command Parameters:
Parameter
|
Type
|
Description
|
File
|
string
|
Path to the file
|
bytes
|
LuaTable
|
Content to write
|
position
|
Int32
|
File position
|
Examples:
local data = {}
data[0] = 0x1
patchFile('C:\\test.txt', data, 0x3F0)