Registry / utility / bytelines

bytelines

JSON →
library2.5.0rscratesunverified

Read input lines as byte slices for high efficiency, avoiding string allocation.

# Cargo.toml [dependencies] bytelines = "2.5.0"
INSTALL
IMPORT
SIG · BYTELINES
B
bytelines
utilityrustv2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ByteLines
use bytelines::ByteLines;

Reads lines from stdin as byte slices.

use bytelines::ByteLines; use std::io::BufReader; fn main() { let reader = BufReader::new(std::io::stdin()); let lines = ByteLines::new(reader); for line in lines { println!("{:?}", line.unwrap()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
bytelines — cargo add bytelines · libregistry