On 02/28/2012 03:13 AM, Paul Breneman wrote:
so I can use strings as binary communication buffers and let the
compiler deal with everything and it all just works... :)
Yep. There is no logical reason to think other, but the fear that
"string" is a moving target regarding the unavoidable upcoming of Unicode.
So a dedicated type for this with all features "AnsiString" offers but
with no Unicode threat would be appropriate for this.
We very often do need flexible easy to use code-ignorant byte buffers.
-Michael
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus