how to save data coming from CanBus into 1 string ?

how can I see the buf array?

You didn't seem to have any trouble writing it to the SD card. So, I can't see why you'd have any trouble "see"ing it. For whatever definition of "see" you have in mind.

I want to print it as it is -1 long line

Do you want +1 long line? -4 lines?