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

            currentFile.WriteZipDataFooter(ref f);
            fifo.Write(Util.StructToByte(f));
        }
예제 #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;
            }