Class RawCompoundDataset
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
databyte[]recordSizeintmembersIReadOnlyList<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
RecordCount
Number of records in Data.
public int RecordCount { get; }
Property Value
RecordSize
Size of one record in bytes.
public int RecordSize { get; }
Property Value
Methods
FindMember(params string[])
Looks up a member by name (case-insensitive), trying each candidate in turn.
public CompoundMemberInfo? FindMember(params string[] candidates)
Parameters
candidatesstring[]