ByteBufferIndexOf(Char) Method

Returns the position of specified char in the buffer. ASCII encoding is used.

Definition

Namespace: OddPrg
Assembly: OddPrg (in OddPrg.dll) Version: 2.0.0.0 (2.0.0.0)
C#
public int IndexOf(
	char ch
)

Parameters

ch  Char
A char to find

Return Value

Int32
The position of the char in the buffer, -1 if specified char was not found

See Also