Module bdrck::io[][src]

io provides additional small utilities on top of std::io.

Functions

read_at_most

A convenience wrapper around read_at_most_into, which allocates its own buffer.

read_at_most_into

Reads from the givne Read until the buffer is filled. If EOF is reached first, this is fine. If we hit EOF exactly when the buffer is filled, that's also fine.