pub fn new(max_length: usize, separator: &[u8]) -> LineReader {
        LineReader {
            buffer:    Vec::new(),
            separator: separator.to_vec(),
            max_len:   max_length,
            complete:  false
        }
    }
/// Create a new line reader with a given maximum line length and line
/// separator.
Create a new line reader with a given maximum line length and line
separator.
Create a new line reader with a given maximum line length and line separator .
pub fn new(max_length: usize, separator: &[u8]) -> LineReader {
        LineReader {
            buffer:    Vec::new(),
            separator: separator.to_vec(),
            max_len:   max_length,
            complete:  false
        }
    }
pub fn new ( max_length : usize , separator : & [ u8 ] ) -> LineReader { LineReader { buffer : Vec :: new ( ) , separator : separator . to_vec ( ) , max_len : max_length , complete : false } }
Create a new line reader with a given maximum line length and line
separator.
Create a new line reader with a given maximum line length and line separator .
max_length
usize
separator
&[u8]
max_length
usize
separator
&[u8]