mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
IBinaryStream migration.
This commit is contained in:
@@ -194,7 +194,7 @@ namespace GameRes.Formats.NeXAS
|
||||
var packed = new byte[entry.Size];
|
||||
input.Read (packed, 0, packed.Length);
|
||||
var unpacked = HuffmanDecode (packed, (int)pent.UnpackedSize);
|
||||
return new MemoryStream (unpacked, 0, (int)pent.UnpackedSize);
|
||||
return new BinMemoryStream (unpacked, 0, (int)pent.UnpackedSize, entry.Name);
|
||||
}
|
||||
case Compression.Deflate:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user