ByteBufferIndexOf(String) Method

Returns the position of specified string 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(
	string s
)

Parameters

s  String
A string to find

Return Value

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

See Also