mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-13 09:18:58 +08:00
migration to IBinaryStream interface.
This commit is contained in:
@@ -211,6 +211,14 @@ namespace GameRes
|
||||
}
|
||||
}
|
||||
|
||||
public IBinaryStream OpenBinaryEntry (Entry entry)
|
||||
{
|
||||
var input = OpenSeekableEntry (entry);
|
||||
if (input is IBinaryStream)
|
||||
return input as IBinaryStream;
|
||||
return new BinaryStream (input, entry.Name);
|
||||
}
|
||||
|
||||
public ArchiveFileSystem CreateFileSystem ()
|
||||
{
|
||||
if (m_interface.IsHierarchic)
|
||||
|
||||
Reference in New Issue
Block a user