[][src]Function seq_io::fastq::write

pub fn write<W, H>(writer: W, head: H, seq: &[u8], qual: &[u8]) -> Result<()> where
    W: Write,
    H: HeadWriter

Helper function for writing data (not necessarily stored in a Record instance) to the FASTQ format.

The header line may be supplied as either a &[u8] / &str header line, or as separate ID and description parts in the form (&[u8], Option<&[u8]>) or (&str, Option<&str>).