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

@@ -56,7 +56,7 @@ namespace GameRes.Formats
{
var header = new byte[2] { (byte)'B', (byte)'M' };
Stream stream = new StreamRegion (input.AsStream, 2, true);
stream = new PrefixStream (header, input);
stream = new PrefixStream (header, stream);
return new BinaryStream (stream, input.Name);
}