Class ZtFile
Assembly: JeremyAnsel.Xwa.ExePatcher.dll
Syntax
public sealed class ZtFile
Properties
|
Edit this page
View Source
Declaration
public string? Comment { get; set; }
Property Value
|
Edit this page
View Source
FileName
Declaration
public string? FileName { get; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string? Name { get; }
Property Value
|
Edit this page
View Source
Patches
Declaration
public SortedList<int, byte[]> Patches { get; }
Property Value
|
Edit this page
View Source
PatchesCount
Declaration
public int PatchesCount { get; }
Property Value
|
Edit this page
View Source
TargetMinimumLength
Declaration
public int TargetMinimumLength { get; }
Property Value
|
Edit this page
View Source
TargetName
Declaration
public string TargetName { get; set; }
Property Value
Methods
|
Edit this page
View Source
Apply(byte[]?)
Declaration
public void Apply(byte[]? bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
|
Edit this page
View Source
Apply(string?)
Declaration
public void Apply(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
|
Edit this page
View Source
Create(byte[]?, byte[]?)
Declaration
public static ZtFile Create(byte[]? unmodifiedBytes, byte[]? modifiedBytes)
Parameters
Type |
Name |
Description |
byte[] |
unmodifiedBytes |
|
byte[] |
modifiedBytes |
|
Returns
|
Edit this page
View Source
Create(string?, string?)
Declaration
public static ZtFile Create(string? unmodifiedFile, string? modifiedFile)
Parameters
Type |
Name |
Description |
string |
unmodifiedFile |
|
string |
modifiedFile |
|
Returns
|
Edit this page
View Source
FromFile(string?)
Declaration
public static ZtFile FromFile(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
|
Edit this page
View Source
FromStream(Stream?)
Declaration
public static ZtFile FromStream(Stream? stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Returns
|
Edit this page
View Source
Save(Stream?)
Declaration
public void Save(Stream? stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
|
Edit this page
View Source
Save(string?)
Declaration
public void Save(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|