Crate read_write_ext

Source
Expand description

crates.io version license: Apache 2.0 unsafe forbidden pipeline status

ReadWriteExt trait with chain_after and take_rw for std::io::Read + Write structs.

§Features

§Changelog

  • v0.1.1 - take_rw to take u64 like std::io::Read::take.
  • v0.1.0 - Initial release. Moved code from fixed-buffer.

§TO DO

§Release Process

  1. Edit Cargo.toml and bump version number.
  2. Run ../release.sh

Structs§

  • A wrapper for a pair of structs, R and RW.
  • Wraps a std::io::Read + std::io::Write struct. Passes through reads and writes to the struct. Limits the number of bytes that can be read.

Traits§