示例#1
0
文件: QuickLz.cs 项目: ww4u/MRQUpdate
        public byte[] Compress(byte[] source)
        {
            byte[] d = new byte[source.Length + 400];
            var    s = (uint)DllManager.qlz_compress(source, d, (IntPtr)source.Length, state_compress);

            byte[] d2 = new byte[s];
            Array.Copy(d, d2, s);
            return(d2);
        }