예제 #1
0
 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);
        }