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


_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to