linebuf
The library provides a interface to read a line through a fixed size of buffer
Usage
Add this to your Cargo.toml
:
[]
= "0.0.1"
And add this to your crate root:
extern crate linebuf
Example
extern crate linebuf;
use ;
let mut reader = new;
let mut buf = vec!;
loop