https://github.com/pyk/rust-reader
A stream reader in Rust
https://github.com/pyk/rust-reader
Last synced: 10 months ago
JSON representation
A stream reader in Rust
- Host: GitHub
- URL: https://github.com/pyk/rust-reader
- Owner: pyk
- Created: 2016-12-22T15:42:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-26T17:16:49.000Z (over 9 years ago)
- Last Synced: 2025-04-02T02:22:37.777Z (about 1 year ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust-reader
An implementation of stream reader in Rust programming language.
## Build
git clone https://github.com/pyk/rust-reader.git
cd rust-reader
cargo build
## Run
./target/debug/buffer_reader some.txt
./target/debug/buffer_line some.txt
./target/debug/buffer_bytes some.txt
./target/debug/buffer_token some.txt
## References
- [Trait std::io::Read](https://doc.rust-lang.org/std/io/trait.Read.html)
- [Struct std::io::BufReader](https://doc.rust-lang.org/std/io/struct.BufReader.html)
- [Struct std::io::Error](https://doc.rust-lang.org/std/io/struct.Error.html)