Table of Contents

Interface IH5Attribute

Namespace
PureHDF
Assembly
PureHDF.dll

An HDF5 attribute.

public interface IH5Attribute

Properties

Name

Gets the attribute name.

string Name { get; }

Property Value

string

Space

Gets the data space.

IH5Dataspace Space { get; }

Property Value

IH5Dataspace

Type

Gets the data type.

IH5DataType Type { get; }

Property Value

IH5DataType

Methods

Read<T>(ulong[]?)

Reads the data.

T Read<T>(ulong[]? memoryDims = null)

Parameters

memoryDims ulong[]

The dimensions of the resulting buffer.

Returns

T

The read data of type T.

Type Parameters

T

The type of the data to read.

Read<T>(T, ulong[]?)

Reads the data into the provided buffer.

void Read<T>(T buffer, ulong[]? memoryDims = null)

Parameters

buffer T

The buffer to read the data into.

memoryDims ulong[]

The dimensions of the resulting buffer.

Type Parameters

T

The type of the data to read.