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()); }
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(); }
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(); }
public PsyWriter(PsyFile psyfile) { this.PsyFile = psyfile; }