/** * destructor **/ ~BamWriterSerialStreamBase() { bgzfos.addEOFBlock(); ostr.flush(); }
~BamWriter() { // bgzfos.flush(); bgzfos.addEOFBlock(); ostr.flush(); }