Am 28.02.2012 15:40, schrieb Hans-Peter Diettrich:
Sven Barth schrieb:

Before Delphi 2009 you might have been right, but with that version
Embarcadero did a cut and we now need to adapt and live with that.

I dare to disagree. A "ByteString" only requires a dedicated encoding
(value), which makes it incompatible with other encodings, and thus
disables all conversions. Such an encoding doesn't break Delphi
compatibility, but allows to use all stringhandling functions with it.

And instead of introducing yet another type or another special encoding we could just leverage the features FPC has today and use TBytes.

Regards,
Sven


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to