code: public final CheckedMemorySegment putBoolean(int index, boolean value) {
  		if (index >= 0 && index < this.size) {
  			this.memory[this.offset + index] = (byte) (value ? 1 : 0);
  			return this;
  		} else {
  			throw new IndexOutOfBoundsException();
  		}
  	}
docs: Writes one byte containing the byte value into this buffer at the given
  position.
  
  @param position The position at which the memory will be written.
  @param value The char value to be written.
  @return This view itself.
  
  @throws IndexOutOfBoundsException Thrown, if the index is negative, or larger then the segment
  size minus 1.