From: Massimiliano Mirra Date: 2002-03-17T11:34:13+09:00 Subject: Re: Reading from a string On Sun, Mar 17, 2002 at 09:03:19AM +0900, Thomas Sondergaard wrote: > > readline, gets and such, on a class-specific implementation of > > something as small as a getc. > Why? I would suggest that the implementation relies on read(byteCount). > You can mantain a buffer (e.g. with gets if you can't pass all of it on > to the caller). Reading in chunks? Actually sounds viable. > Yep. getc would be too inefficient, but it is not necessary. Subscriptions open for the IO mixin. :-) Massimiliano