mitsuba-af602c6fd98a/src/libcore/bitmap.cpp
/// Simple helper function for reading strings in PFM files
Simple helper function for reading strings in PFM files
Simple helper function for reading strings in PFM files
static std::string pfmReadString(Stream *stream) {
	std::string result;
	while (true) {
		char data = stream->readChar();
		if (::isspace(data))
			break;
		result += data;
	}
	return result;
}
static std :: string pfmReadString ( Stream * stream ) { std :: string result ; while ( true ) { char data = stream -> readChar ( ) ; if ( :: isspace ( data ) ) break ; result += data ; } return result ; }
Simple helper function for reading strings in PFM files
Simple helper function for reading strings in PFM files