Class NativeAttribute
A native HDF5 attribute.
public class NativeAttribute : IH5Attribute
- Inheritance
-
NativeAttribute
- Implements
Properties
Name
Gets the attribute name.
public string Name { get; }
Property Value
Space
Gets the data space.
public IH5Dataspace Space { get; }
Property Value
Type
Gets the data type.
public IH5DataType Type { get; }
Property Value
Methods
Read<T>(Span<T>, ulong[]?)
Reads the data into the provided buffer.
public void Read<T>(Span<T> buffer, ulong[]? memoryDims = null)
Parameters
bufferSpan<T>The buffer to read the data into.
memoryDimsulong[]The dimensions of the destination memory buffer.
Type Parameters
TThe type of the data to read.
Read<T>(ulong[]?)
Reads the data.
public T Read<T>(ulong[]? memoryDims = null)
Parameters
memoryDimsulong[]The dimensions of the resulting buffer.
Returns
- T
The read data of type T.
Type Parameters
TThe type of the data to read.
Read<T>(T, ulong[]?)
Reads the data into the provided buffer.
public void Read<T>(T buffer, ulong[]? memoryDims = null)
Parameters
bufferTThe buffer to read the data into.
memoryDimsulong[]The dimensions of the resulting buffer.
Type Parameters
TThe type of the data to read.