This repository contains a Rust crate iobuffer
.
This is a memory-based buffer which implements both the std::io::Write
and std::io::Write
traits.
It is useful in testing - for crates whose interface takes astd::io::Read
or std::io::Write
,
using an iobuffer::IoBuffer
instance allows tests to have full access to what has been read or written by the library.
See the documentation (as generated by cargo doc
) or source for more information.