Struct bam::bgzip::write::WriterBuilder [−][src]
pub struct WriterBuilder { /* fields omitted */ }Expand description
Bgzip writer builder. Allows to specify compression level and the number of additional threads.
Implementations
Specify the number of additional threads.
Additional threads are used to compress blocks, while the
main thread reads the writes to a file/stream.
If additional_threads is 0 (default), the main thread
will compress blocks itself.
Specify compression level from 0 to 9, where 0 represents no compression, and 9 represents maximal compression. The builder uses 6 as default.
Creates a writer from file.
