docs: public static <T> T[] setOrAppend(T[] buffer, int index, T value) {
  		if(index < buffer.length) {
  			Array.set(buffer, index, value);
  			return buffer;
  		}else {
  			return append(buffer, value);
  		}
  	}