C# Class EnableGameStream.FilePatcher

Mostra file Open project: Lakritzator/EnableGameStream Class Usage Examples

Public Methods

Method Description
FilePatcher ( string filepath, byte pattern ) : System
ReplaceBytes ( int location, byte newValues ) : void
WritePatched ( string fileBackupPath = null ) : string

Rename the original file (this

Method Details

FilePatcher() public method

public FilePatcher ( string filepath, byte pattern ) : System
filepath string
pattern byte
return System

ReplaceBytes() public method

public ReplaceBytes ( int location, byte newValues ) : void
location int
newValues byte
return void

WritePatched() public method

Rename the original file (this
public WritePatched ( string fileBackupPath = null ) : string
fileBackupPath string Name of the backup file, null to use the original file with a .bkp extension
return string