code: public final CheckedMemorySegment put(int index, byte[] src, int offset, int length) {
  		if (index >= 0 && index < this.size && index <= this.size - length && offset <= src.length - length) {
  			System.arraycopy(src, offset, this.memory, this.offset + index, length);
  			return this;
  		} else {
  			throw new IndexOutOfBoundsException();
  		}
  	}
docs: Bulk put method. Copies length memory starting at position offset from
  the source memory into the memory segment starting at the specified
  index.
  
  @param index The position in the memory segment array, where the data is put.
  @param src The source array to copy the data from.
  @param offset The offset in the source array where the copying is started.
  @param length The number of bytes to copy.
  @return This random access view itself.
  
  @throws IndexOutOfBoundsException Thrown, if the index is negative, or too large such that the array
  portion to copy exceed the amount of memory between the index and the memory
  segment's end.