slice-of-bytes-reader 0.1.0

Turns an iterator of `AsRef<[u8]>` into a reader implements `std::io::Read`
Documentation
# slice-of-bytes-reader

Turns an iterator of `AsRef<[u8]>` into a reader implements `std::io::Read`.

[![Version](https://img.shields.io/crates/v/slice-of-bytes-reader.svg?style=flat)](https://crates.io/crates/slice-of-bytes-reader)
[![Documentation](https://img.shields.io/badge/docs-release-brightgreen.svg?style=flat)](https://docs.rs/slice-of-bytes-reader)
[![License](https://img.shields.io/crates/l/slice-of-bytes-reader.svg?style=flat)](https://github.com/EAimTY/slice-of-bytes-reader/blob/master/LICENSE)

## Usage

```ignore
let chunks: &[&[u8]] = &[
    b"", b"ab", b"", b"c", b"defg", b"", b"hij", b"klmnop", b"qrstuvw", b"", b"", b"xyz",
    b"", b"",
];

let mut reader = Reader::new(chunks.into_iter());
let mut result = String::new();
let total_length = reader.read_to_string(&mut result).unwrap();

assert_eq!(result, "abcdefghijklmnopqrstuvwxyz");
assert_eq!(total_length, 26);
```