Beispiel #1
0
        public static byte[] CompressByDotNetZip(this byte[] instance, string password)
        {
            if (instance == null)
            {
                return(null);
            }

            return(DotNetZipWrapper.Compress(instance, password));
        }
Beispiel #2
0
        public static byte[] CompressByDotNetZip(this byte[] instance)
        {
            if (instance == null)
            {
                return(null);
            }

            return(DotNetZipWrapper.Compress(instance));
        }