Struct Db2Record
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
One record of a model records file (.db2).
public readonly record struct Db2Record : IEquatable<Db2Record>Implements
Inherited Members
Constructors
Db2Record(long, uint, uint, uint, ReadOnlyMemory<byte>)
One record of a model records file (.db2).
public Db2Record(long Offset, uint Key, uint Count, uint RowSize, ReadOnlyMemory<byte> Rows)Parameters
Offsetlong-
The offset of the record's key in the unpacked file.
Keyuint-
The raw key.
Countuint-
The number of rows.
RowSizeuint-
The size of a row after its marker byte.
RowsReadOnlyMemory<byte>-
The raw rows:
Counttimes one marker byte andRowSizebytes. The content is not known and is not interpreted.
Properties
Count
The number of rows.
public uint Count { get; init; }Property Value
Key
The raw key.
public uint Key { get; init; }Property Value
Offset
The offset of the record's key in the unpacked file.
public long Offset { get; init; }Property Value
RowSize
The size of a row after its marker byte.
public uint RowSize { get; init; }Property Value
Rows
The raw rows: Count times one marker byte and RowSize bytes. The
content is not known and is not interpreted.
public ReadOnlyMemory<byte> Rows { get; init; }