code: int distanceTo(final byte[] bytes, final int fromIndex) {
          assert 0 <= fromIndex && fromIndex < byteArray.length;
          int index = fromIndex;
          for (; index < byteArray.length; ++index) {
              if (containsByte(bytes, byteArray[index])) {
                  break;
              }
          }
          return index - fromIndex;
      }
docs: Returns the distance from {@code fromIndex} to the next occurrence of one
  of the bytes in {@code bytes}. If the byte at {@code fromIndex} is in
  {@code bytes} zero is returned. If there are no matching bytes between
  {@code fromIndex} and the end of the buffer then the distance to the
  end of the buffer is returned.
  
  @param bytes     bytes to search for.
  @param fromIndex the position in the buffer from which to start searching.
  @return the distance in bytes to the next byte with the given value or if
  none is found to the end of the buffer.