Table of Contents

Class TdbReadOptions

Namespace
TdbIO
Assembly
TdbIO.dll

Options for TdbIO.TdbFile.Open(System.String,TdbIO.TdbReadOptions).

public sealed class TdbReadOptions

Inheritance

Inherited Members

Properties

Default

A new instance with the default values.

public static TdbReadOptions Default { get; }

Property Value

TdbReadOptions

MaxUnpackedLength

The largest number of bytes read into memory: the unpacked size of gzip data, or the size of an uncompressed file. Larger input is rejected with System.IO.InvalidDataException instead of being cut. The default is 1 GiB; the valid range is 1 to System.Array.MaxLength.

public long MaxUnpackedLength { get; init; }

Property Value

long

Exceptions

ArgumentOutOfRangeException

The value is out of range.

TextEncoding

The encoding of templates and reports (.tpl, .rpt, .xsr), used as given. When null (the default) the encoding is chosen from the bytes: UTF-8 after a byte order mark, ASCII, UTF-8, then code page 1251 or 1252.

public Encoding? TextEncoding { get; init; }

Property Value

Encoding?