On Tue, Jul 22, 2014 at 12:17 PM, tha...@thaddy.com <tha...@thaddy.com> wrote:
> What I was a little bit more than hinting at in my previous answers is > that it is impossible for an abstract read stream to know that there's a > string to read. There is at least one higher level of implementation > necessary: one that recognizes a string. > That means probably something like storing the length and storing a > string marker and/or use RTTI for strings, to be consistent. > Actually after rereading both threads (with "Re" and without "Re" in the subject), it's quite clear to me that I should have not posted to it at all :) My only other 2 cents would be - lets not modify the base class, but rather create a task-convenient wrappers in forms of (inline) functions or class-helpers. These wrappers would be stored in a project or a developer's library, rather being added to the base RTL. thanks, Dmitry
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel