mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(BinMemoryStream): made name optional in constructor.
This commit is contained in:
parent
1d16700780
commit
3a1bae1a19
@ -460,10 +460,10 @@ namespace GameRes
|
||||
public uint Signature { get { return m_signature; } }
|
||||
public Stream AsStream { get { return this; } }
|
||||
|
||||
public BinMemoryStream (byte[] input, string name) : this (input, 0, input.Length, name)
|
||||
public BinMemoryStream (byte[] input, string name = "") : this (input, 0, input.Length, name)
|
||||
{ }
|
||||
|
||||
public BinMemoryStream (byte[] input, int pos, int length, string name)
|
||||
public BinMemoryStream (byte[] input, int pos, int length, string name = "")
|
||||
{
|
||||
m_source = input;
|
||||
m_start = pos;
|
||||
@ -471,7 +471,7 @@ namespace GameRes
|
||||
Init (name);
|
||||
}
|
||||
|
||||
public BinMemoryStream (MemoryStream input, string name)
|
||||
public BinMemoryStream (MemoryStream input, string name = "")
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user