Will I run into problems if I write a base64 string into a file without breaking it up using carriage returns?
Is there a length where I’ll run into difficulties writing and reading a big string in one go?
Right now the size of the strings I’m storing are about 100 characters but they can get into the 10,000+ range – will that be a problem?
Thanks in advance.
You can have files as big as your file system allows with no line breaks in them.
Reading them, on the other hand, will be difficult for large files. I recommend a StreamReader or at least a buffer in the form of a byte array instead of trying to load it as a string.