pub fn from_bufread(bufreader: B) -> Self {
        Reader {
            reader: bufreader,
            line: String::new(),
        }
    }
/// Create a new Fasta reader with an object that implements `io::BufRead`.
///
/// # Example
/// ```rust
/// # use std::io;
/// # use bio::io::fasta::Reader;
/// # fn main() {
/// # const fasta_file: &'static [u8] = b">id desc
/// # AAAA
/// # ";
/// let buffer = io::BufReader::with_capacity(16384, fasta_file);
/// let reader = Reader::from_bufread(buffer);
/// # }
/// ```
Create a new Fasta reader with an object that implements `io::BufRead`.
Create a new Fasta reader with an object that implements ` io :: BufRead ` .
pub fn from_bufread(bufreader: B) -> Self {
        Reader {
            reader: bufreader,
            line: String::new(),
        }
    }
pub fn from_bufread ( bufreader : B ) -> Self { Reader { reader : bufreader , line : String :: new ( ) , } }
Create a new Fasta reader with an object that implements `io::BufRead`.
Create a new Fasta reader with an object that implements ` io :: BufRead ` .
bufreader
B
bufreader
B
example
None
use std::io;
None
use bio::io::fasta::reader;
None
fn main() {
None
const fasta_file: &'static [u8] = b">id desc
None
aaaa
None
";
let buffer = io::BufReader::with_capacity(16384, fasta_file);
let reader = Reader::from_bufread(buffer).
let buffer = io :: BufReader :: with_capacity ( 16384 fasta_file ) ; let reader = Reader :: from_bufread ( buffer ) .
}
None