Create new BGZF output stream which will use provided task_pool to do multithreaded compression.
Adds EOF block. This function is called in close() method.
Flush all remaining BGZF blocks and close source stream. Automatically adds empty block at the end, serving as indicator of end of stream.
Flush all remaining BGZF blocks and underlying stream.
Force flushing current block, even if it is not yet filled. Should be used when it's not desired to have records crossing block borders.
Class for BGZF compression