parent
fcf9eff2f6
commit
d4549b1228
|
@ -8,7 +8,7 @@ public class BundleStream : FileStream
|
||||||
{
|
{
|
||||||
public const byte KEY = 64;
|
public const byte KEY = 64;
|
||||||
|
|
||||||
public BundleStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync) : base(path, mode, access, share, bufferSize, useAsync)
|
public BundleStream(string path, FileMode mode, FileAccess access, FileShare share) : base(path, mode, access, share)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
public BundleStream(string path, FileMode mode) : base(path, mode)
|
public BundleStream(string path, FileMode mode) : base(path, mode)
|
||||||
|
|
|
@ -144,7 +144,7 @@ internal class FsmInitialize : IStateNode
|
||||||
|
|
||||||
public Stream LoadFromStream(DecryptFileInfo fileInfo)
|
public Stream LoadFromStream(DecryptFileInfo fileInfo)
|
||||||
{
|
{
|
||||||
BundleStream bundleStream = new BundleStream(fileInfo.FilePath, FileMode.Open);
|
BundleStream bundleStream = new BundleStream(fileInfo.FilePath, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||||
return bundleStream;
|
return bundleStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue