Table of Contents

Class DbvDocument

Namespace
TdbIO
Assembly
TdbIO.dll

A gzip file whose content starts with DBV@: a name, a GUID list, a few lists of numbers and table sections. Most numbers have no known meaning and are given raw; values that differ from the ones always seen are kept and reported in TdbIO.TdbDocument.Warnings.

public sealed class DbvDocument : TdbDocument

Inheritance

Inherited Members

Properties

B

The raw number after the GUID records.

public uint B { get; }

Property Value

uint

BaseOffset

The base byte offset of domain events (alias for TdbIO.DbvDocument.B).

public uint BaseOffset { get; }

Property Value

uint

C

The raw number after TdbIO.DbvDocument.B.

public uint C { get; }

Property Value

uint

C9Records

The records that start with C9 C0 CE DB.

public IReadOnlyList<DbvC9Record> C9Records { get; }

Property Value

IReadOnlyList<DbvC9Record>

CurrentOffset

The current byte offset after domain events (from TdbIO.DbvDocument.T word 1; equals BaseOffset + 32 * L1.Count).

public uint CurrentOffset { get; }

Property Value

uint

DomainId

The domain identifier of the database (from TdbIO.DbvDocument.Prologue word 1: 2 for options, 3 for environment, 4 for analysis).

public uint DomainId { get; }

Property Value

uint

EventLevel

The domain event level (alias for TdbIO.DbvDocument.C; expected to be 5).

public uint EventLevel { get; }

Property Value

uint

Generation

The generation/version number of the domain file (from TdbIO.DbvDocument.ListHeader word 3), equals GuidRecords.Count + 1.

public uint Generation { get; }

Property Value

uint

GuidRecords

The GUID records in file order.

public IReadOnlyList<DbvGuidRecord> GuidRecords { get; }

Property Value

IReadOnlyList<DbvGuidRecord>

L1

The first list of raw numbers; its length is stored before it.

public IReadOnlyList<uint> L1 { get; }

Property Value

IReadOnlyList<uint>

L2

The second list of raw numbers, signed, as long as TdbIO.DbvDocument.L1.

public IReadOnlyList<int> L2 { get; }

Property Value

IReadOnlyList<int>

LastEventOffset

The byte offset of the last domain event (from TdbIO.DbvDocument.T word 4; equals CurrentOffset - 32).

public uint LastEventOffset { get; }

Property Value

uint

ListHeader

The four raw numbers after the list marker. The last one is the number of GUID records plus one.

public IReadOnlyList<uint> ListHeader { get; }

Property Value

IReadOnlyList<uint>

Name

The name stored after the signature, printable ASCII.

public string Name { get; }

Property Value

string

Payload

The unpacked bytes of the file.

public ReadOnlyMemory<byte> Payload { get; }

Property Value

ReadOnlyMemory<byte>

Prologue

The six raw numbers after the name.

public IReadOnlyList<uint> Prologue { get; }

Property Value

IReadOnlyList<uint>

Sections

The table sections, which run to the end of the data. Row bodies are raw.

public IReadOnlyList<TableSection> Sections { get; }

Property Value

IReadOnlyList<TableSection>

T

The six raw numbers after the lists. The first one equals the last number of TdbIO.DbvDocument.ListHeader; the last one is the number of TdbIO.DbvDocument.C9Records.

public IReadOnlyList<uint> T { get; }

Property Value

IReadOnlyList<uint>