BlobReader.IndexOf(Byte) Method

Definition

Searches for a specified byte in the blob following the current position.

public:
 int IndexOf(System::Byte value);
public int IndexOf (byte value);
member this.IndexOf : byte -> int
Public Function IndexOf (value As Byte) As Integer

Parameters

value
Byte

The byte value to find.

Returns

The index relative to the current position, or -1 if the byte is not found in the blob following the current position.

Remarks

Doesn't change the current position.

Applies to