コード例 #1
0
ファイル: RAFArchive.cs プロジェクト: anirnet/raf-manager
        public RAFArchive(string rafPath)
        {
            nocompress = RAFLib.Properties.Resources.nocompress.Split("\n");
            for (int i = 0; i < nocompress.Length; i++)
                nocompress[i] = nocompress[i].ToLower();

            this.rafPath = rafPath;
            dataFileStream = new FileStream(rafPath+".dat", FileMode.Open);
            this.directoryFile  = new RAFDirectoryFile(this, rafPath);
        }
コード例 #2
0
        public RAFArchive(string rafPath)
        {
            nocompress = RAFLib.Properties.Resources.nocompress.Split("\n");
            for (int i = 0; i < nocompress.Length; i++)
            {
                nocompress[i] = nocompress[i].ToLower();
            }

            this.rafPath       = rafPath;
            dataFileStream     = new FileStream(rafPath + ".dat", FileMode.Open);
            this.directoryFile = new RAFDirectoryFile(this, rafPath);
        }