Returns the index of the specified byte in the buffer.

Namespace:  Kaazing.HTML5
Assembly:  Kaazing.Gateway (in Kaazing.Gateway.dll)

Syntax

Visual Basic
Public Function IndexOf ( _
	c As Byte _
) As Integer
C#
public int IndexOf(
	byte c
)
Visual C++
public:
int IndexOf(
	unsigned char c
)

Parameters

c
Type: System..::..Byte
The byte value to find

Return Value

The index of the byte in the buffer or -1 if not found

See Also