JuliaLang/julia — comment on commit 538257c9943b8fcbade5628128fa0bfd302668b2
File:  line 0
By JeffBezanson:

`takebuf` (in sys.c) already does the first part, except in small data cases. `readuntil` does this in all cases. We don't have the one-pass encoding check yet of course.