2 unstable releases
Uses old Rust 2015
0.2.0 | Mar 19, 2020 |
---|---|
0.1.0 | Apr 20, 2018 |
#37 in #io-write
1,915 downloads per month
Used in 4 crates
9KB
121 lines
iobuffer
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.
lib.rs
:
IoBuffer library
Copyright 2020 Metaswitch Networks
Memory-based buffer which implements Write and Read traits.