how to save data coming from CanBus into 1 string ?

OK - so maybe I didn't explain myself :

how can I see the buf array?
I want to print it as it is -1 long line
So I will be able to compare it to known information
Thanks ,