Пример #1
0
 /// <summary>
 /// Writes all data from the structs to the file.
 /// </summary>
 public static SafeFileHandle Write <T>(this SafeFileHandle hFile, T[] x) where T : struct
 {
     using (var p = x.Pin())
         return(hFile.Write(p));
 }