Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            string    filepath = "/home/neil/Desktop/test.psy";
            PsyFile   psyfile  = new PsyFile();
            PsyReader reader   = new PsyReader(filepath, psyfile);
            PsyWriter writer   = new PsyWriter(reader.Psyfile);

            Console.WriteLine(writer.ToString());
        }
Ejemplo n.º 2
0
        public PsyReader(string filePath, PsyFile psyfile)
        {
            if (String.IsNullOrEmpty(filePath)) throw new ArgumentNullException("filePath");
            if (psyfile == null) throw new ArgumentNullException("psyfile");

            this.FilePath = filePath;
            this.Psyfile = psyfile;

            OpenPsyBinary();
            ReadPsyBinary();
        }
Ejemplo n.º 3
0
        public PsyReader(string filePath, PsyFile psyfile)
        {
            if (String.IsNullOrEmpty(filePath))
            {
                throw new ArgumentNullException("filePath");
            }
            if (psyfile == null)
            {
                throw new ArgumentNullException("psyfile");
            }

            this.FilePath = filePath;
            this.Psyfile  = psyfile;

            OpenPsyBinary();
            ReadPsyBinary();
        }
Ejemplo n.º 4
0
 public PsyWriter(PsyFile psyfile)
 {
     this.PsyFile = psyfile;
 }