hehe
In another language that could probably be written as

buf = buf + buf1 + buf2 + buf3 + buf4 + buf5 + buf6;