deprecating std.stream, std.cstream, std.socketstream

Walter Bright newshound2 at digitalmars.com
Wed May 16 06:52:05 PDT 2012


On 5/15/2012 4:43 PM, Sean Kelly wrote:
> One thing I'd like in a buffered input API is a way to perform transactional
> reads such that if the full read can't be performed, the read state remains
> unchanged. The best you can do with most APIs is to check for a desired
> length, but what I'd I don't want to read until a full line is available, and
> I don't know the exact length?  Typically, you end up having to double
> buffer, which stinks.

std.stdio.byLine()



More information about the Digitalmars-d mailing list