Assuming your CSV-data is RFC4180-compliant, there's only a few things you need to take heed of:
In order to be able to detect CRLF's in your data when reading the csv line-by-line, you only need to count the number of times the special character " occurs in the line read. If this is an odd amount, there was a CRLF in the data, and you need to continue reading lines until you encounter another line with an odd amount of "'s. Otherwise the data's all there.