public ClusterableFileStream MakeFileStream(string filename, FileMode mode, long splitSize = 2, string asmDirPath = null) { ClusterableFileStream fs; //if (splitSize > 0) fs = new ClusterableFileStream(filename, mode, FileAccess.ReadWrite, FileShare.None, splitSize, asmDirPath); //else // fs = new ClusterableFileStream(filename, mode, FileAccess.ReadWrite, FileShare.None, splitSize, asmDirPath); return(fs); }
public void WriteTestData(ClusterableFileStream fs) { fs.Write(exceptedData, 0, exceptedData.Length); }