Exemple #1
0
        public BFLYT(ref string filename)
        {
            BinaryStream s = new BinaryStream(new FileStream(filename, FileMode.Open));

            header = new Header(ref s);

            for (int i = 0; i < header.sectionCount; i++)
            {
                ReadSections(ref s);
            }

            System.Windows.Forms.MessageBox.Show($"[{s.BaseStream.Position}] stream end");

            System.Windows.Forms.MessageBox.Show($"Done");

            s.Flush();
            s.Dispose();
        }
Exemple #2
0
 internal void Flush()
 {
     stream.Flush();
 }