[fpc-devel] TBytes

Martin Schreiber mse00000 at gmail.com
Tue Feb 28 11:26:16 CET 2012

Am 28.02.2012 12:18, schrieb Marco van de Voort:
> In our previous episode, Martin Schreiber said:
>>> think that is still bad though, but if you switch typing string to explicit
>>> ansistring, there is no rush), but I think at least public
>>> programming interfaces should be free of such gotchas.
>> [...]
>> Then please implement such a handy character string compatible automatic
>> memory managed buffer type.
> If it IS 1-byte character data, ansistring is fairly ok. The whole
> discussion was about stuffing binary data in a character type.
>> This was about a case where it was not character data.

Exactly. An automatically memory managed buffer type where binary and 
character data can be combined in a convenient manner and optimal 
performance. As FPC 2.6 AnsiString is.


More information about the fpc-devel mailing list