Force buffer to string