コード例 #1
0
ファイル: po2Binary.cs プロジェクト: Darkmet98/Pleinair
 public po2Binary()
 {
     DictionarySaveLoadEnabled = false;
     PB  = new TALKDAT.po2Binary();
     BP  = new Binary2Po();
     Map = new Dictionary <string, string>();
 }
コード例 #2
0
        public static void ExportElf(string name, string path, string outFile)
        {
            Node nodo = NodeFactory.FromFile(path); // BinaryFormat
            IConverter <BinaryFormat, Po> converter = new ELF.Binary2Po();
            Node nodoPo = nodo.Transform(converter);

            Console.WriteLine(@"Exporting " + name + @"...");
            nodoPo.Transform <Po2Binary, Po, BinaryFormat>().Stream.WriteTo(outFile);
        }