Locates the first occurrence of the specified {@code value} in this
buffer. The search takes place from the current {@code readerIndex}
(inclusive) to the current {@code writerIndex} (exclusive).
<p>
This method does not modify {@code readerIndex} or {@code writerIndex} of
this buffer.
@return the number of bytes between the current {@code readerIndex}
and the first occurrence if found. {@code -1} otherwise.
Locates the first occurrence of the specified {@code value} in this buffer. The search takes place from the current {@code readerIndex} (inclusive) to the current {@code writerIndex} (exclusive). <p> This method does not modify {@code readerIndex} or {@code writerIndex} of this buffer.
@return the number of bytes between the current {@code readerIndex} and the first occurrence if found. {@code -1} otherwise.