DiscardBufferedData tells myStreamReader to throw away its internal
buffer contents. This is useful if the user needs to seek on the
underlying stream to a known location then wants the myStreamReader
to start reading from this new point. This method should be called
very sparingly, if ever, since it can lead to very poor performance.
However, it may be the only way of handling some scenarios where
users need to re-read the contents of a myStreamReader a second time.
Namespace:
Hyleos.Common.IO
Assembly:
Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)
Syntax
| C# |
|---|
public void DiscardBufferedData() |
| Visual Basic (Declaration) |
|---|
Public Sub DiscardBufferedData |
| Visual C++ |
|---|
public:
void DiscardBufferedData() |
See Also