how to read some in vibe.d tcpconnection?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 6 10:40:27 PST 2015


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.


More information about the Digitalmars-d-learn mailing list