Class YamlTextReader
- Namespace
- Cuemon.Runtime.Serialization
- Assembly
- Cuemon.Core.dll
Represents a reader that provides fast, non-cached, forward-only access to YAML data. Implements the System.IO.TextReader
[Obsolete("All YAML marshalling has been moved to its own assembly; Cuemon.Extensions.YamlDotNet. This member will be removed with next major version.")]
public class YamlTextReader : StreamReader, IDisposable
- Inheritance
-
ObjectMarshalByRefObjectTextReaderStreamReaderYamlTextReader
- Implements
-
IDisposable
- Inherited Members
-
StreamReader.NullStreamReader.Close()StreamReader.DiscardBufferedData()StreamReader.Dispose(Boolean)StreamReader.Peek()StreamReader.Read()StreamReader.Read(Char[], Int32, Int32)StreamReader.Read(Span<Char>)StreamReader.ReadAsync(Char[], Int32, Int32)StreamReader.ReadAsync(Memory<Char>, CancellationToken)StreamReader.ReadBlock(Char[], Int32, Int32)StreamReader.ReadBlock(Span<Char>)StreamReader.ReadBlockAsync(Char[], Int32, Int32)StreamReader.ReadBlockAsync(Memory<Char>, CancellationToken)StreamReader.ReadLine()StreamReader.ReadLineAsync()StreamReader.ReadLineAsync(CancellationToken)StreamReader.ReadToEnd()StreamReader.ReadToEndAsync()StreamReader.ReadToEndAsync(CancellationToken)StreamReader.BaseStreamStreamReader.CurrentEncodingStreamReader.EndOfStreamTextReader.Dispose()TextReader.Synchronized(TextReader)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.MemberwiseClone(Boolean)
Constructors
YamlTextReader(Stream, Encoding)
Initializes a new instance of the YamlTextReader class.
public YamlTextReader(Stream yaml, Encoding encoding)
Parameters
yaml
StreamThe YAML System.IO.Stream to use for input.
encoding
EncodingThe character encoding to use.
See Also
TextReader