|
0.2.1
| 2022年9月19日 |
|
0.2.0
| 2019年1月20日 |
|
0.1.2
| 2018年2月18日 |
|
0.1.1
| 2017年11月15日 |
|
0.1.0
| 2017年11月15日 |
#622 in 数据结构
5,570 每月下载量
用于 31 个crate (5 直接)
iowrap

我的一些项目所需的几个实用工具,围绕 std::io::Read 流。
Eof 有一个 eof()? -> bool 来检查流是否在末尾。
Pos 有一个 position() -> u64 来找出你在流中的位置。
ReadMany 向 Read 添加了 read_many,类似于 read_exact,但具有定义的 EoF 行为
Ignore 实现了 Read 和 Write 和 Seek 和.. 和什么也不做。
ShortRead 是一个故意可控的 Read,用于测试。
文档
请阅读docs.rs上的iowrap文档。
许可
MIT或 Apache2.0.
用于包装 std::io::Read 和 std::io::Write 的一些实用方法。