how to read some in vibe.d tcpconnection?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 7 01:14:39 PST 2015


On Fri, 06 Mar 2015 19:33:54 +0000, zhmt wrote:

> On Friday, 6 March 2015 at 18:40:28 UTC, Kagamin wrote:
>> I'd say, peek is the right method, it returns what's already in the
>> buffer (but doesn't read), while leastSize returns full logical size of
>> the stream.
> 
> The api of vibe.d is too simple to use in real work.

lol.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150307/1dcd4fa5/attachment.sig>


More information about the Digitalmars-d-learn mailing list