tee 0.1.0

An adapter for readers which delegate reads to a writer
Documentation
  • Coverage
  • 50%
    2 out of 4 items documented0 out of 2 items with examples
  • Size
  • Source code size: 5.93 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.45 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Documentation
  • softprops/tee
    9 5 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • softprops

Tee

Build Status Coverage Status

A rustlang adapter for readers which delegate read bytes to a writer, adapted from the standard library's std::io::Read#tee which has since been deprecated.

api docs

rustdoc api documentation can be found here

examples

The currently unstable/deprecated std library function looks like this

let tee_reader = reader.tee(writer);

In broadcast this looks like

let tee_reader = tee::TeeReader::new(reader, writer);

Doug Tangren (softprops) 2015