Locates the first occurrence of the specified {@code value} in thisbuffer. The search takes place from the current {@code readerIndex}(inclusive) to the current {@code writerIndex} (exclusive).
This method does not modify {@code readerIndex} or {@code writerIndex} ofthis buffer.
@return the number of bytes between the current {@code readerIndex}and the first occurrence if found. {@code -1} otherwise.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.