Buff to string