Improve stream file processing

This commit is contained in:
Perfare
2021-05-28 03:43:32 +08:00
parent d14c232015
commit 46c0e8ffe1
5 changed files with 9 additions and 5 deletions
+1
View File
@@ -83,6 +83,7 @@ namespace AssetStudio
{
var data = dataList[i];
var file = new StreamFile();
file.path = data.path;
file.fileName = Path.GetFileName(data.path);
reader.BaseStream.Position = data.dataOffset;
file.stream = new MemoryStream(reader.ReadBytes(data.dataLength));