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)); }
public static H5File Open(Stream stream) { return(H5File.OpenCore(stream, string.Empty)); }
internal static H5File OpenReadCore(string filePath, bool deleteOnClose = false) { return(H5File.OpenCore(filePath, FileMode.Open, FileAccess.Read, FileShare.Read, deleteOnClose)); }
public static H5File Open(string filePath, FileMode mode, FileAccess fileAccess, FileShare fileShare) { return(H5File.OpenCore(filePath, mode, fileAccess, fileShare)); }