ByteBufUtil.indexOf

Returns the reader index of needle in haystack, or -1 if needle is not in haystack.

  1. int indexOf(ByteBuf needle, ByteBuf haystack)
    class ByteBufUtil
    static
    int
    indexOf
  2. int indexOf(ByteBuf buffer, int fromIndex, int toIndex, byte value)

Meta