void addFileFooter()
        {
            ZipDataFooter f = new ZipDataFooter();

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