discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableString -initWithFormat appends to existing text


From: Mick Bert
Subject: Re: NSMutableString -initWithFormat appends to existing text
Date: Wed, 18 Apr 2018 16:47:11 +0200

2018-04-18 15:00 GMT+02:00 Riccardo Mottola <riccardo.mottola@libero.it>:
> Hi Mick,
>
>
> You can write the stream directly, it may work for you, also for quite big
> data, it is efficient.
>
What do you mean by "write the stream directly"?

>
> Otherwise indeed, work with NSFileHandle
>
> https://www.gnu.org/software/gnustep/resources/documentation/Developer/Base/Reference/NSFileHandle.html
>

How about reading per-line?
Have I to read a chunk of file, and look by myself for the line
terminator? Aren't there something like the std::getline() of c++?

--
Mick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]