Table of Contents

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

Offset long

The offset of the record's key in the unpacked file.

Key uint

The raw key.

Count uint

The number of rows.

RowSize uint

The size of a row after its marker byte.

Rows ReadOnlyMemory<byte>

The raw rows: Count times one marker byte and RowSize bytes. The content is not known and is not interpreted.

Properties

Count

The number of rows.

public uint Count { get; init; }

Property Value

uint

Key

The raw key.

public uint Key { get; init; }

Property Value

uint

Offset

The offset of the record's key in the unpacked file.

public long Offset { get; init; }

Property Value

long

RowSize

The size of a row after its marker byte.

public uint RowSize { get; init; }

Property Value

uint

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; }

Property Value

ReadOnlyMemory<byte>