Table of Contents

Class NativeAttribute

Namespace
PureHDF.VOL.Native
Assembly
PureHDF.dll

A native HDF5 attribute.

public class NativeAttribute : IH5Attribute
Inheritance
NativeAttribute
Implements

Properties

Name

Gets the attribute name.

public string Name { get; }

Property Value

string

Space

Gets the data space.

public IH5Dataspace Space { get; }

Property Value

IH5Dataspace

Type

Gets the data type.

public IH5DataType Type { get; }

Property Value

IH5DataType

Methods

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

Reads the data into the provided buffer.

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

Parameters

buffer Span<T>

The buffer to read the data into.

memoryDims ulong[]

The dimensions of the destination memory buffer.

Type Parameters

T

The type of the data to read.

Read<T>(ulong[]?)

Reads the data.

public 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.

public 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.