ByteBufferIndexOf(ByteBuffer) Method

Returns the position of specified sequence of bytes in the buffer

Definition

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

Parameters

bytes  ByteBuffer
A sequence to find

Return Value

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

See Also