Class NonBlockingTextReader
The NonBlockingTextReader is an implementation of a BufferedTextReader designed to wrap other readers where latency is known not to be a problem and we don't expect to ever have an empty read occur before the actual end of the stream.
Inheritance
System.Object
System.MarshalByRefObject
System.IO.TextReader
NonBlockingTextReader
Implements
System.IDisposable
Inherited Members
System.IO.TextReader.Null
System.IO.TextReader.Dispose()
System.IO.TextReader.ReadAsync(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadBlockAsync(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadLine()
System.IO.TextReader.ReadLineAsync()
System.IO.TextReader.ReadToEnd()
System.IO.TextReader.ReadToEndAsync()
System.IO.TextReader.Synchronized(System.IO.TextReader)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public sealed class NonBlockingTextReader : BufferedTextReader, IDisposable
Remarks
Currently we only use this for file and network streams, you can force this to never be used with the global static ForceBlockingIO option.
Methods
| Improve this Doc View SourceFillBuffer()
Fills the buffer in a non-blocking manner.
Declaration
protected override void FillBuffer()
Overrides
Implements
System.IDisposable