Re:Tour of Rust
by twic on Sunday July 12, 2020 @10:51AM
(#23811784)
It's how Java's InputStream and Reader work, too. In any language, requiring the caller to supply the buffer is a prerequisite for efficiency.
[ Parent
| on HN ]
There are no comments on this comment yet.