IBinaryStream migration.

This commit is contained in:
morkt
2016-10-16 09:22:53 +04:00
parent d0c1d5da01
commit bb18303eb4
251 changed files with 3277 additions and 3630 deletions

View File

@@ -150,7 +150,7 @@ namespace GameRes.Formats.Nexton
var data = arc.File.View.ReadBytes (entry.Offset, entry.Size);
for (int i = 0; i != data.Length; ++i)
data[i] ^= nxent.Key;
return new MemoryStream (data);
return new BinMemoryStream (data, entry.Name);
}
private static string ReadName (ArcView view, long offset, uint size, uint key, Encoding enc)