BuildMaster SDK Reference
Version:

StreamSearcher Class

Performs an efficient forward-only search for a byte string in a System.IO.Stream.

Inheritance Hierarchy

  • object
    • Inedo.IO.StreamSearcher

Syntax

public class StreamSearcher

Constructors

Name Description
StreamSearcher(byte[] pattern)

Initializes a new instance of the StreamSearcher class.

Methods

Name Description
FindAll(System.IO.Stream stream)

Finds all occurrences of the searcher pattern in the specified stream.

FindNext(System.IO.Stream stream)

Searches for the searcher pattern in the specified stream.