bufreaderwriter 0.1.2

Rust convenience struct that facilitates automatic switching between buffered reading and writing from a single underlying Read + Write + Seek instance (generally designed for `File`). BufReaderWriter moves the underlying instance between a BufReader and BufWriter as needed.
Documentation
1
2
3
4
5
6
7
8
9
# BufReaderWriter

The `BufReaderWriter<RW>` is a convenience struct that facilitates automatic switching between buffered reading and writing from a single underlying Read + Write + Seek instance (generally applicable for  `std::fs::File`).  BufReaderWriter moves the underlying reader/writer between a BufReader and BufWriter as needed.

The reader/writer needs to be seekable as switching from reading to writing involves discarding the read buffer and seeking the underlying reader/writer back to the current position of the BufReader.

### Links


* Crate on [crates.io]https://crates.io/crates/bufreaderwriter
* Documentation on [docs.rs]https://docs.rs/bufreaderwriter