pub fn with_capacity(capacity: usize, reader: R) -> Self {
        Reader {
            reader: io::BufReader::with_capacity(capacity, reader),
            line: String::new(),
        }
    }
/// Create a new Fasta reader given a capacity and an instance of `io::Read`.
///
/// # Example
/// ```rust
/// # use std::io;
/// # use bio::io::fasta::Reader;
/// # fn main() {
/// # const fasta_file: &'static [u8] = b">id desc
/// # AAAA
/// # ";
/// let reader = Reader::with_capacity(16384, fasta_file);
/// # }
/// ```
Create a new Fasta reader given a capacity and an instance of `io::Read`.
Create a new Fasta reader given a capacity and an instance of ` io :: Read ` .
pub fn with_capacity(capacity: usize, reader: R) -> Self {
        Reader {
            reader: io::BufReader::with_capacity(capacity, reader),
            line: String::new(),
        }
    }
pub fn with_capacity ( capacity : usize , reader : R ) -> Self { Reader { reader : io :: BufReader :: with_capacity ( capacity , reader ) , line : String :: new ( ) , } }
Create a new Fasta reader given a capacity and an instance of `io::Read`.
Create a new Fasta reader given a capacity and an instance of ` io :: Read ` .
capacity
usize
reader
R
capacity
usize
reader
R
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 reader = Reader::with_capacity(16384, fasta_file).
let reader = Reader :: with_capacity ( 16384 fasta_file ) .
}
None