mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
IBinaryStream migration.
This commit is contained in:
@@ -200,7 +200,7 @@ namespace GameRes.Formats.CaramelBox
|
||||
using (input)
|
||||
{
|
||||
var data = UnpackLze (input, a3ent.UnpackedSize);
|
||||
return new MemoryStream (data);
|
||||
return new BinMemoryStream (data, entry.Name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace GameRes.Formats.CaramelBox
|
||||
return input;
|
||||
using (input)
|
||||
using (var tz = new TzCompression (input))
|
||||
return new MemoryStream (tz.Unpack());
|
||||
return new BinMemoryStream (tz.Unpack(), entry.Name);
|
||||
}
|
||||
|
||||
static int ReadInt24 (byte[] data, int pos)
|
||||
|
||||
Reference in New Issue
Block a user