Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunfishcode/layered-io
I/O traits extending Read and Write
https://github.com/sunfishcode/layered-io
library rust
Last synced: 27 days ago
JSON representation
I/O traits extending Read and Write
- Host: GitHub
- URL: https://github.com/sunfishcode/layered-io
- Owner: sunfishcode
- License: other
- Created: 2021-01-11T16:52:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T20:42:55.000Z (8 months ago)
- Last Synced: 2024-10-06T02:15:51.775Z (about 1 month ago)
- Topics: library, rust
- Language: Rust
- Homepage:
- Size: 78.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
This crate defines [`ReadLayered`] and [`WriteLayered`] traits which extend
[`std::io::Read`] and [`std::io::Write`] with additional functionality
useful for performing I/O through layers of buffering and translation.And it defines [`LayeredReader`], [`LayeredWriter`], and [`LayeredDuplexer`]
types which implement [`ReadLayered`], [`WriteLayered`], and both,
respectively, by wrapping implementations of [`std::io::Read`],
[`std::io::Write`], and both, respectively.[`ReadLayered`]: https://docs.rs/layered-io/latest/layered_io/trait.ReadLayered.html
[`WriteLayered`]: https://docs.rs/layered-io/latest/layered_io/trait.WriteLayered.html
[`std::io::Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
[`std::io::Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
[`LayeredReader`]: https://docs.rs/layered-io/latest/layered_io/struct.LayeredReader.html
[`LayeredWriter`]: https://docs.rs/layered-io/latest/layered_io/struct.LayeredWriter.html
[`LayeredDuplexer`]: https://docs.rs/layered-io/latest/layered_io/struct.LayeredDuplexer.html