C# Класс Util.SearchBinary

Показать файл Открыть проект

Открытые методы

Метод Описание
ExtendFind ( Stream stream, bool>.Func check ) : byte[]
ExtendFindASCII ( Stream stream, bool>.Func check ) : string
FindASCII ( Stream stream, string target ) : int?

Returns the stream position of the first occurence of specified string.

FindBytes ( Stream stream, byte target ) : int?

Returns the stream position of the first occurence of specified bytes.

Описание методов

ExtendFind() публичный статический Метод

public static ExtendFind ( Stream stream, bool>.Func check ) : byte[]
stream Stream
check bool>.Func
Результат byte[]

ExtendFindASCII() публичный статический Метод

public static ExtendFindASCII ( Stream stream, bool>.Func check ) : string
stream Stream
check bool>.Func
Результат string

FindASCII() публичный статический Метод

Returns the stream position of the first occurence of specified string.
public static FindASCII ( Stream stream, string target ) : int?
stream Stream Data.
target string String to search for.
Результат int?

FindBytes() публичный статический Метод

Returns the stream position of the first occurence of specified bytes.
public static FindBytes ( Stream stream, byte target ) : int?
stream Stream Data.
target byte Values to search for.
Результат int?