예제 #1
0
        public static byte[] smethod_6(Stream stream_0, string string_0)
        {
            MemoryStream memoryStream = new MemoryStream();

            ZIPManager.smethod_9(stream_0, memoryStream, string_0);
            return(memoryStream.ToArray());
        }
예제 #2
0
        public static void smethod_7(Stream StreamIn, out byte[] bytes, string FileName, string Password)
        {
            MemoryStream memoryStream = new MemoryStream();

            ZIPManager.smethod_10(StreamIn, memoryStream, FileName, Password);
            bytes = memoryStream.ToArray();
        }
예제 #3
0
 public static void checkFileDirectory(IEnumerable <string> fileNameList, string saveLocation, int nine, string password, Stream[] fileStreamList)
 {
     if (!Directory.Exists(new FileInfo(saveLocation).Directory.ToString()))
     {
         throw new ArgumentException("The Path does not exist.");
     }
     ZIPManager.processFile(fileNameList, File.Create(saveLocation), nine, password, fileStreamList);
 }
예제 #4
0
 public static void smethod_0(IEnumerable <string> fileNameList, string saveLocation, string password, Stream[] fileStreamList)
 {
     ZIPManager.checkFileDirectory(fileNameList, saveLocation, 9, password, fileStreamList);
 }
예제 #5
0
 public static byte[] smethod_5(byte[] byte_0, string string_0)
 {
     return(ZIPManager.smethod_6(new MemoryStream(byte_0), string_0));
 }
예제 #6
0
 public static void smethod_4(string string_0, string string_1, string string_2)
 {
     ZIPManager.smethod_9(File.OpenRead(string_0), File.Create(string_1), string_2);
 }
예제 #7
0
 public static void smethod_3(string ZipFilePath, out byte[] bytes, string FileName, string Password)
 {
     ZIPManager.smethod_7(File.OpenRead(ZipFilePath), out bytes, FileName, Password);
 }
예제 #8
0
 public static void smethod_9(Stream stream_0, Stream stream_1, string string_0)
 {
     ZIPManager.smethod_10(stream_0, stream_1, string_0, null);
 }
예제 #9
0
 public static void smethod_8(Stream stream_0, string string_0, string string_1)
 {
     ZIPManager.smethod_10(stream_0, File.Create(string_0), string_1, null);
 }