A string representing the contents of the given buffer up to the first zero character, or nil if the argument is not a buffer.
This function converts the buffer into a string by treating each element in the buffer as a single character. The first zero character in the buffer terminates the string.