示例#1
0
        public byte[] CompressToGZip()
        {
            GZipPacker g = new GZipPacker();

            byte[] data = this.fifo.Read();

            g.Write(data, 0, data.Length, true);

            return(g.GeneratedData.Read());
        }
示例#2
0
        public byte[] CompressToGZip()
        {
            GZipPacker g = new GZipPacker();
            byte[] data = this.fifo.Read();

            g.Write(data, 0, data.Length, true);

            return g.GeneratedData.Read();
        }