FindNext(System.IO.Stream stream) Method
Searches for the searcher pattern in the specified stream.
Syntax
public
long FindNext(System.IO.Stream stream)
Parameters
- stream
- Type: System.IO.Stream
The stream to search, starting from the current position.
Returns
Offset of the beginning of the pattern in the specified stream (relative to the initial stream position) if it was found, otherwise -1.