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.