Utf8TomlReaderState Struct

The state of a Utf8TomlReader, to continue reading in a new reader when the input comes in several buffers.

public struct Utf8TomlReaderState

Remarks

Get it from Utf8TomlReader.CurrentState, drop the first Utf8TomlReader.BytesConsumed bytes of the input, and pass it with the remaining bytes followed by the new data to the constructor of the next reader.

Constructors

NameDescription
Utf8TomlReaderState(Utf8TomlReaderOptions)Initializes a new state with the specified options.

Utf8TomlReaderState(Utf8TomlReaderOptions)

Utf8TomlReaderState.cs

Initializes a new state with the specified options.

public Utf8TomlReaderState(Utf8TomlReaderOptions options)

Parameters

options Utf8TomlReaderOptions
The options of the reader.

Properties

NameDescription
OptionsGets the options of the reader.

Gets the options of the reader.

public readonly Utf8TomlReaderOptions Options { get; }

Property value

Utf8TomlReaderOptions