Table of Contents

Class RawCompoundDataset

Namespace
EncDotNet.S100.Hdf5
Assembly
EncDotNet.S100.Core.dll

A compound dataset returned in raw form: the bytes are laid out exactly as on disk (record-major), and the members describe where each field lives within a record. Callers project rows into their own value types so that small spec-conforming variations (member renames, numeric width changes) can be tolerated without changing public value-struct layouts.

public sealed class RawCompoundDataset
Inheritance
RawCompoundDataset
Inherited Members

Constructors

RawCompoundDataset(byte[], int, IReadOnlyList<CompoundMemberInfo>)

Initializes a new instance.

public RawCompoundDataset(byte[] data, int recordSize, IReadOnlyList<CompoundMemberInfo> members)

Parameters

data byte[]
recordSize int
members IReadOnlyList<CompoundMemberInfo>

Properties

Data

Raw record-major payload.

public byte[] Data { get; }

Property Value

byte[]

Members

Compound member descriptors, in the order declared on disk.

public IReadOnlyList<CompoundMemberInfo> Members { get; }

Property Value

IReadOnlyList<CompoundMemberInfo>

RecordCount

Number of records in Data.

public int RecordCount { get; }

Property Value

int

RecordSize

Size of one record in bytes.

public int RecordSize { get; }

Property Value

int

Methods

FindMember(params string[])

Looks up a member by name (case-insensitive), trying each candidate in turn.

public CompoundMemberInfo? FindMember(params string[] candidates)

Parameters

candidates string[]

Returns

CompoundMemberInfo