StreamReader: DiscardBufferedData |
Discards the currently buffered data to allow reading from a new position in the underlying stream.
Public Sub DiscardBufferedData ( )
The StreamReader buffers more data than is usually read at a single time. If the position of the underlying stream is moved, then the data buffered in the StreamReader needs to be discarded so the reading can begin at the new Stream position.