Skip to content

⏪ Rust Iterator for reading files line by line with a buffer in reverse

Notifications You must be signed in to change notification settings

mjc-gh/rev_lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rev_lines

rev-lines MIT licensed crates.io

This library provides a small Rust Iterator for reading files line by line with a buffer in reverse

Documentation

Documentation is available on Docs.rs.

Example

use std::fs::File;

use rev_lines::RevLines;

let file = File::open("README.md").unwrap();
let rev_lines = RevLines::new(file);

for line in rev_lines {
    println!("{:?}", line);
}

About

⏪ Rust Iterator for reading files line by line with a buffer in reverse

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages