Exemplo n.º 1
0
        internal static H5File OpenCore(string filePath, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, bool deleteOnClose = false)
        {
            var absoluteFilePath = System.IO.Path.GetFullPath(filePath);
            var stream           = System.IO.File.Open(absoluteFilePath, fileMode, fileAccess, fileShare);

            return(H5File.OpenCore(stream, absoluteFilePath, deleteOnClose));
        }
Exemplo n.º 2
0
 public static H5File Open(Stream stream)
 {
     return(H5File.OpenCore(stream, string.Empty));
 }
Exemplo n.º 3
0
 internal static H5File OpenReadCore(string filePath, bool deleteOnClose = false)
 {
     return(H5File.OpenCore(filePath, FileMode.Open, FileAccess.Read, FileShare.Read, deleteOnClose));
 }
Exemplo n.º 4
0
 public static H5File Open(string filePath, FileMode mode, FileAccess fileAccess, FileShare fileShare)
 {
     return(H5File.OpenCore(filePath, mode, fileAccess, fileShare));
 }