Create a new BGZF compressor
Compression configuration
Write a compressed block to a stream or writer
Writer or stream to write to
Uncompressed data to compress and write
Promise resolving when write is complete
Create EOF block for BGZF stream termination
EOF block bytes
Create a streaming BGZF compressor transform
TransformStream for streaming BGZF compression
Get compression statistics and performance info
Compression configuration and capabilities
Static
createCreate an optimized compressor for high-performance scenarios
Performance tuning options
Optimized compressor instance
BGZF compressor for creating BAM files
Implements streaming compression with block-level compression for efficient writing of large BAM files. Follows Tiger Style with comprehensive validation and error handling.