[fpc-devel] TBytes

Michael Schnell mschnell at lumino.de
Tue Feb 28 08:06:48 CET 2012


On 02/28/2012 05:04 AM, Martin Schreiber wrote:
> I read that we should use TBytes instead of AnsiString in order to 
> implement combined binary/character buffers with automatic memory 
> management.

Why ?

To me ("Ansi"-) strings seem a lot more convenient in many cases (e.g. 
when implementing a kind of protocol on a Byte Stream.

-Michael





More information about the fpc-devel mailing list