Read a stream from and in an iterator
The Rust Programming Language Forum
Read a stream from and in an iterator
Hello, I wrote a lib that split a stream reader (called buf_read_splitter) The basic usage needs too much lines of code for a so simple purpose. For example, to count parts separates by "<SEP>" and total number of characters (excluding separators size) : /*** Declarations ***/ let mut stream = .... let separator = "<SEP>"; let mut reader = BufReadSplitter::new( &mut stream, SimpleMatcher::new(separator.as_bytes()), Options::default(), ); let...
0 comments
No comments yet.