code: public int find(byte b) {
  		assert !isRecycled() : "Attempt to use recycled bytebuf";
  		for (int i = head; i < tail; i++) {
  			if (array[i] == b) return i;
  		}
  		return -1;
  	}
docs: Finds the given value in the {@link #array} and returns its position.
  
  This {@code ByteBuf} must be not recycled.
  
  @param b the {@code byte} which is to be found in the {@link #array}
  @return position of byte in the {@link #array}. If the byte wasn't found,
  returns -1