code: public static byte[] set(
  		final byte[] data,
  		final int index,
  		final boolean value
  	) {
  		return value ? set(data, index) : unset(data, index);
  	}
docs: Set the bit in the given byte array at the bit position (not the index
  within the byte array) to the specified value.
  
  @param data the byte array.
  @param index the bit index within the byte array.
  @param value the value to set.
  @return the given data array.
  @throws IndexOutOfBoundsException if the index is
  {@code index >= max || index < 0}.
  @throws NullPointerException if the {@code data} array is {@code null}.