BUFFER bufgraft(BUFFER buf, INTEGER pos, BUFFER what)
This function will graft the buffer what into the buffer buf at pos. Example:
bufgraft(`[1, 2, 3, 4], 2, `[100, 100])
=> `[1, 100, 100, 2, 3, 4]
buf_replace() | buf_to_str() | buf_to_strings() | bufgraft() | buflen() | str_to_buf() | strings_to_buf() | subbuf() | bufidx()