Class H5Dataset<T>
- Namespace
- PureHDF
- Assembly
- PureHDF.dll
A dataset.
public class H5Dataset<T> : H5Dataset
Type Parameters
TThe type of the data.
- Inheritance
-
H5Dataset<T>
- Inherited Members
Constructors
H5Dataset(H5OpaqueInfo?)
Initializes a new instance of the H5Dataset class with a null dataspace.
Set this paramter to a non-null value to treat data of type byte[] as opaque.public H5Dataset(H5OpaqueInfo? opaqueInfo = null)
Parameters
opaqueInfoH5OpaqueInfo
H5Dataset(ulong[], uint[]?, H5DatasetCreation, H5OpaqueInfo?)
Initializes a new instance of the H5Dataset class.
public H5Dataset(ulong[] fileDims, uint[]? chunks = null, H5DatasetCreation datasetCreation = default, H5OpaqueInfo? opaqueInfo = null)
Parameters
fileDimsulong[]The dimensions of the dataset when written to the file.
chunksuint[]The dataset's chunk dimensions.
datasetCreationH5DatasetCreationThe dataset creation properties.
opaqueInfoH5OpaqueInfoSet this paramter to a non-null value to treat data of type byte[] as opaque.
H5Dataset(T, uint[]?, ulong[]?, H5DatasetCreation, H5OpaqueInfo?)
Initializes a new instance of the H5Dataset class. Use this constructor to preserve specific type information, e.g. for nullable value types like int?.
public H5Dataset(T data, uint[]? chunks = null, ulong[]? fileDims = null, H5DatasetCreation datasetCreation = default, H5OpaqueInfo? opaqueInfo = null)
Parameters
dataTThe dataset data.
chunksuint[]The dataset's chunk dimensions.
fileDimsulong[]The dimensions of the dataset when written to the file.
datasetCreationH5DatasetCreationThe dataset creation properties.
opaqueInfoH5OpaqueInfoSet this paramter to a non-null value to treat data of type byte[] as opaque.