[This is preliminary documentation and is subject to change.]
A TextReader which buffers all the data in memory (as a String).
| C# | Visual Basic | Visual C++ |
public class BufferedInMemoryTextReader : TextReader
Public Class BufferedInMemoryTextReader _ Inherits TextReader
public ref class BufferedInMemoryTextReader : public TextReader
| All Members | Constructors | Methods | Properties | Fields | |
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.
| Object | |||
| MarshalByRefObject | |||
| TextReader | |||
| BufferedInMemoryTextReader | |||