Crates.io | acc_reader |
lib.rs | acc_reader |
version | 2.0.0 |
source | src |
created_at | 2016-01-30 22:53:11.418275 |
updated_at | 2016-02-01 21:10:08.279769 |
description | A wrapper for std::io::Read providing std::io::Seek |
homepage | |
repository | https://github.com/netvl/acc_reader |
max_upload_size | |
id | 4026 |
size | 28,839 |
acc_reader provides AccReader
, a struct which wraps an arbitrary instance of std::io::Read
and provides an implementation of std::io::Seek
for it. Naturally, this involves internal
buffering, therefore AccReader
also provides std::io::BufRead
interface, though its read()
method does not use this buffering. If/when specialization gets available in Rust, this could
change.
See AccReader
documentation
for more information and examples.
Just add a dependency in your Cargo.toml
:
[dependencies]
acc_reader = "2.0"
Changed "beyond the end of stream" seek error kind to UnexpectedEof
. This is a breaking
change.
Initial release
This program is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.