IL2CPP: Add APIs to save processed metadata and binary to disk

This commit is contained in:
Katy Coe
2020-12-09 19:43:29 +01:00
parent 3b8e518b7c
commit f6eed36284
6 changed files with 28 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ namespace Il2CppInspector
long Length { get; }
uint NumImages { get; }
string DefaultFilename { get; }
bool IsModified { get; }
IEnumerable<IFileFormatReader> Images { get; }
IFileFormatReader this[uint index] { get; }
long Position { get; set; }
@@ -125,6 +126,8 @@ namespace Il2CppInspector
public abstract string DefaultFilename { get; }
public bool IsModified { get; protected set; } = false;
public long Length => BaseStream.Length;
public uint NumImages { get; protected set; } = 1;