coseva
coseva copied to clipboard
Accept strings instead of just files
I'm pulling my CSV files from a web service, so the entire CSV has been loaded as a string into memory already. There is no reason to write it to disk just to read it back in again. I had a look through the code and most of the code seems to be focused on reading files. Do you think it would be possible to bypass that?
Not at the moment, unfortunately. As you said already, the code is really focused on reading files. However, you could always make a pull request. str_getcsv seems like a good place to start. :)