[fpc-devel] Method for write string into TStreamt
pascaldragon at googlemail.com
Mon Jul 21 14:45:53 CEST 2014
Am 21.07.2014 11:34 schrieb "Marco van de Voort" <marcov at stack.nl>:
> In our previous episode, Sven Barth said:
> > > Do you think, that something similar can be added also in FPC ?
> > There is already a WriteAnsiString (
> > ) with the difference that it also writes out the length. Adding an
> > additional overload (especially with a name like WriteString) would
> > confusing because of this.
> > Nothing stops you though from writing a class helper that adds a
> > WriteString method to TStream.
> (Except the fact that you can only have one class helper per class?)
Doesn't stop him from writing the helper, only from using it :P
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel