scripts
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace ICSharpCode.SharpZipLib.Zip
|
||||
{
|
||||
// Token: 0x02000075 RID: 117
|
||||
public class DynamicDiskDataSource : IDynamicDataSource
|
||||
{
|
||||
// Token: 0x06000483 RID: 1155 RVA: 0x00016914 File Offset: 0x00015914
|
||||
public Stream GetSource(ZipEntry entry, string name)
|
||||
{
|
||||
Stream stream = null;
|
||||
if (name != null)
|
||||
{
|
||||
stream = File.Open(name, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
}
|
||||
return stream;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user