Skip to content

Instantly share code, notes, and snippets.

@richfuns
richfuns / ZipTools
Created December 31, 2018 06:08 — forked from TouiSoraHe/ZipTools
主要用于Unity,该类用于简单将一个文件或者文件夹压缩为zip文件,或者将一个zip文件解压,该类依赖于 SharpZipLib
using System;
using System.IO;
using ICSharpCode.SharpZipLib.Zip;
/// <summary>
/// 该类用于将一个文件/文件夹或多个文件/文件夹压缩为zip文件,或者将一个zip文件解压,该类依赖于 SharpZipLib
/// SharpZipLib下载地址:https://github.com/icsharpcode/SharpZipLib/releases
/// </summary>
public class ZipTools