Method Mark
Mark(Int32)
Marks the present position in the stream. Subsequent calls to Reset() will attempt to reposition the stream to this point. Not all character-input streams support the Mark(Int32) operation.
LUCENENET specific. Moved here from the Reader class (in Java) so it can be overridden to provide reader buffering.
Declaration
public virtual void Mark(int readAheadLimit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | readAheadLimit | Limit on the number of characters that may be read while still preserving the mark. After reading this many characters, attempting to reset the stream may fail. |