Files
rust/src/libstd/io
bors c9290dceee Auto merge of #68558 - HeroicKatora:buf-writer-capacity, r=alexcrichton
Add a method to query the capacity of a BufWriter and BufReader

Besides the obvious of retrieving the parameter used to construct the writer, this method allows consumers to control the number of `flush` calls during write operations. For `BufReader` it gives an upper bound on the returned buffer in `fill_buf` which might influence the allocation behaviour of a consumer.
2020-02-04 20:30:53 +00:00
..
2019-12-24 22:39:49 -08:00
2019-11-29 18:43:27 -08:00
2019-12-22 17:42:47 -05:00
2019-11-29 18:43:27 -08:00
2019-12-22 17:42:47 -05:00
2019-11-29 18:43:27 -08:00