mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
If specified size is 0, calculate length.
This commit is contained in:
@@ -60,6 +60,8 @@ namespace DiscImageChef.Filters
|
||||
baseStream = (T)Activator.CreateInstance(typeof(T), parameters);
|
||||
backFile = Path.GetTempFileName();
|
||||
backStream = new FileStream(backFile, FileMode.Open, FileAccess.ReadWrite, FileShare.None);
|
||||
if(length == 0)
|
||||
CalculateLength();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user