pub fn with_delimiter_and_capacity(delimiter: u8, capacity: usize, inner: R) -> Self {
        Self {
            inner,
            delimiter,
            buf: vec![0; capacity],
            pos: 0,
            end_of_complete: 0,
            end_of_buffer: 0,
        }
    }
/// Create a new `LineReader` around the reader with a given capacity and
/// delimiter.
///
/// ```no_run
/// # use linereader::LineReader;
/// # use std::fs::File;
/// # use std::io;
/// # fn x() -> io::Result<()> {
/// let mut reader = LineReader::with_delimiter_and_capacity(b'\t', 1024*512, File::open("myfile.txt")?);
/// # Ok(())
/// # }
/// ```
Create a new `LineReader` around the reader with a given capacity and
delimiter.


Create a new ` LineReader ` around the reader with a given capacity and delimiter .
pub fn with_delimiter_and_capacity(delimiter: u8, capacity: usize, inner: R) -> Self {
        Self {
            inner,
            delimiter,
            buf: vec![0; capacity],
            pos: 0,
            end_of_complete: 0,
            end_of_buffer: 0,
        }
    }
pub fn with_delimiter_and_capacity ( delimiter : u8 , capacity : usize , inner : R ) -> Self { Self { inner , delimiter , buf : vec ! [ 0 capacity ] , pos : 0 , end_of_complete : 0 , end_of_buffer : 0 , } }
Create a new `LineReader` around the reader with a given capacity and
delimiter.
Create a new ` LineReader ` around the reader with a given capacity and delimiter .
delimiter
u8
capacity
usize
inner
R
delimiter
u8
capacity
usize
inner
R
use linereader::linereader;
None
use std::fs::file;
None
use std::io;
None
fn x() -> io::result<()> {
let mut reader = LineReader::with_delimiter_and_capacity(b'\t', 1024*512, File::open("myfile.txt")?).
let mut reader = LineReader :: with_delimiter_and_capacity ( b ' \ t ' 1024 * 512 File :: open ( " myfile . txt " ) ? ) .
ok(())
None
}
None