mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(StreamRegion): added leave_open argument to constructor.
This commit is contained in:
parent
5305c19354
commit
c396b86c22
@ -212,7 +212,8 @@ namespace GameRes.Formats
|
||||
m_should_dispose = !leave_open;
|
||||
}
|
||||
|
||||
public StreamRegion (Stream main, long offset) : this (main, offset, main.Length-offset)
|
||||
public StreamRegion (Stream main, long offset, bool leave_open = false)
|
||||
: this (main, offset, main.Length-offset, leave_open)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user