Share via


StreamHelper.IndexOf(Stream, Byte[]) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static long IndexOf(System::IO::Stream ^ stream, cli::array <System::Byte> ^ pattern);
public static long IndexOf (this System.IO.Stream stream, byte[] pattern);
static member IndexOf : System.IO.Stream * byte[] -> int64

Parameters

stream
Stream
pattern
Byte[]

Returns

Applies to