Class FixedWidthExtractorStreamOptions<TRecord>

Namespace
Wolfgang.Etl.FixedWidth
Assembly
Wolfgang.Etl.FixedWidth.dll

Configuration for a FixedWidthExtractor<TRecord> constructed over a Stream: everything in FixedWidthExtractorOptions<TRecord> plus the Encoding used to decode the bytes. The TextReader constructors take the base record instead, because a reader has already decoded its bytes and an Encoding there would be settable but inert.

public sealed record FixedWidthExtractorStreamOptions<TRecord> : FixedWidthExtractorOptions<TRecord>, IEquatable<ExtractorOptions>, IEquatable<FixedWidthExtractorOptions<TRecord>>, IEquatable<FixedWidthExtractorStreamOptions<TRecord>> where TRecord : notnull

Type Parameters

TRecord

The record type the extractor produces.

Inheritance
ExtractorOptions
FixedWidthExtractorStreamOptions<TRecord>
Implements
IEquatable<ExtractorOptions>
Inherited Members
ExtractorOptions.ToString()
ExtractorOptions.GetHashCode()
ExtractorOptions.Equals(ExtractorOptions)
ExtractorOptions.<Clone>$()
ExtractorOptions.ReportingInterval
ExtractorOptions.MaximumItemCount
ExtractorOptions.SkipItemCount
ExtractorOptions.ErrorPolicy

Constructors

FixedWidthExtractorStreamOptions()

Initializes a new instance of the FixedWidthExtractorStreamOptions<TRecord> class.

public FixedWidthExtractorStreamOptions()

Properties

Encoding

The encoding used to decode the stream. Defaults to UTF8.

public Encoding Encoding { get; init; }

Property Value

Encoding

Exceptions

ArgumentNullException

The value is null.