This crate implements a type ByteSliceIter
that reads bytes from a reader and allows iterating
over them as slices with a maximum length, similar to the chunks
method on slices.
It is implemented as a FallibleStreamingIterator
so that it can reuse its buffer and not
allocate for each chunk. (That trait is re-exported here for convenience.)
Example
extern crate read_byte_slice;
use ;
use io;
License
read-byte-slice
is distributed under the terms of both the MIT license and
the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.