ParseHeaderv1() публичный статический Метод

public static ParseHeaderv1 ( string filePath ) : Headerv1
filePath string
Результат Headerv1
Пример #1
0
 public static Headerv1 ParseHeaderv1(string filePath)
 {
     System.IO.FileStream fs = System.IO.File.OpenRead(filePath);
     byte[] data = new byte[fs.Length];
     fs.Read(data, 0, System.Convert.ToInt32(fs.Length));
     fs.Close();
     Headerv1 hdr = new Headerv1();
     hdr._data = data;
     Parser.ParseHeaderv1(ref hdr);
     return hdr;
 }