Beispiel #1
0
        void addFileFooter()
        {
            ZipDataFooter f = new ZipDataFooter();

            currentFile.WriteZipDataFooter(ref f);
            fifo.Write(Util.StructToByte(f));
        }
Beispiel #2
0
            public void WriteZipDataFooter(ref ZipDataFooter h)
            {
                h.Signature = 0x08074B50;

                if (this.Compress == false)
                {
                    h.CompSize = h.UncompSize = (uint)this.Size;
                }
                else
                {
                    h.CompSize   = (uint)this.CompressSize;
                    h.UncompSize = (uint)this.Size;
                }
                h.Crc32 = this.Crc32;
            }
Beispiel #3
0
            public void WriteZipDataFooter(ref ZipDataFooter h)
            {
                h.Signature = 0x08074B50;

                if (this.Compress == false)
                {
                    h.CompSize = h.UncompSize = (uint)this.Size;
                }
                else
                {
                    h.CompSize = (uint)this.CompressSize;
                    h.UncompSize = (uint)this.Size;
                }
                h.Crc32 = this.Crc32;
            }
Beispiel #4
0
 void addFileFooter()
 {
     ZipDataFooter f = new ZipDataFooter();
     currentFile.WriteZipDataFooter(ref f);
     fifo.Write(Util.StructToByte(f));
 }