[This is preliminary documentation and is subject to change.]
A TextReader which buffers all the data in memory (as a String).
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class BufferedInMemoryTextReader : TextReader
Public Class BufferedInMemoryTextReader _ Inherits TextReader
public ref class BufferedInMemoryTextReader : public TextReader
Members
All Members | Constructors | Methods | Properties | Fields | |
Remarks
This class should behave in all ways like a normal TextReader, but with speed improvements in cases where the same data is read multiple times (e.g. calling Peek()()()() a lot without advancing the stream).
An additional advantage is that reads to the underlying reader are done in large chunks (currently 1K), which can improve read speed for file accesses.
Inheritance Hierarchy
Object | |||
MarshalByRefObject | |||
TextReader | |||
BufferedInMemoryTextReader |