FL INIReader Limitations
-
Afternoon everyone, I am wondering if anyone has any information on the limitations of the FL INIReader. After doing some stuff with @Alex. we discovered that there seems to be a limitation of the inireader - we specifically tested with get_value_string(void)
The best way I can describe it is that when reading a ini/cfg file it will get to the 1024 character and treat it as if it’s the end of the line. I discovered the issue when using these files to store XML strings, then everything was suddenly failing without any indication as to the cause.
While I’ve got a workaround for the time being, I am curious if there is any solution to this, or perhaps just more information as to why it occurs (I could hazard a guess, but certainty is always more preferable).
Any and all information on this would be appreciated.
Kind Regards,
Laz -
I’m assuming the reader has a 1024 characters read buffer for the whole line, which frankly is more than enough for normal usage. You shouldn’t be storing that much text data directly in the INIs.