Utf8YamlReaderState Struct
The state of a Utf8YamlReader, to continue reading in a new reader when the input comes in several buffers.
public struct Utf8YamlReaderStateRemarks
Get it from Utf8YamlReader.CurrentState, drop the first Utf8YamlReader.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
| Name | Description |
|---|---|
| Utf8YamlReaderState(Utf8YamlReaderOptions) | Initializes a new state with the specified options. |
Utf8YamlReaderState(Utf8YamlReaderOptions)
Utf8YamlReaderState.csInitializes a new state with the specified options.
public Utf8YamlReaderState(Utf8YamlReaderOptions options)Parameters
optionsUtf8YamlReaderOptions
Properties
| Name | Description |
|---|---|
| Options | Gets the options of the reader. |