コード例 #1
0
 /// <summary>
 /// Constructor to create a chuncked dataset object
 /// </summary>
 /// <param name="name"></param>
 /// <param name="groupId"></param>
 /// <param name="chunckSize"></param>
 public ChunkedDataset(string name, long groupId, ulong[] chunckSize)
 {
     Datasetname = name;
     GroupId     = groupId;
     datatype    = Hdf5.GetDatatype(typeof(T));
     typeId      = H5T.copy(datatype);
     chunkDims   = chunckSize;
 }
コード例 #2
0
 /// <summary>
 /// Constructor to create a chuncked dataset object
 /// </summary>
 /// <param name="name"></param>
 /// <param name="groupId"></param>
 public ChunkedDataset(string name, long groupId)
 {
     Datasetname = name;
     GroupId     = groupId;
     datatype    = Hdf5.GetDatatype(typeof(T));
     typeId      = H5T.copy(datatype);
     chunkDims   = null;
 }