예제 #1
0
파일: BFLYT.cs 프로젝트: xnqdev/Lyzon
        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();
        }
예제 #2
0
 internal void Flush()
 {
     stream.Flush();
 }