C# Class Util.SearchBinary

ファイルを表示 Open project: SubaruDieselCrew/ScoobyRom

Public Methods

Method Description
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.

Method Details

ExtendFind() public static method

public static ExtendFind ( Stream stream, bool>.Func check ) : byte[]
stream Stream
check bool>.Func
return byte[]

ExtendFindASCII() public static method

public static ExtendFindASCII ( Stream stream, bool>.Func check ) : string
stream Stream
check bool>.Func
return string

FindASCII() public static method

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.
return int?

FindBytes() public static method

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.
return int?