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

@@ -104,7 +104,7 @@ namespace GameRes.Formats.Cri
}
Array.Reverse (output, (int)prefix_size, unpacked_size);
arc.File.View.Read (entry.Offset+0x10+packed_size, output, 0, prefix_size);
return new MemoryStream (output);
return new BinMemoryStream (output, entry.Name);
}
void DetectFileTypes (ArcView file, List<Entry> dir)