/iobuffer

Rust crate iobuffer - a memory-based buffer which implements Write and Read traits.

Primary LanguageRustApache License 2.0Apache-2.0

Build Status Current Version License

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.

Documentation (crates.io).