blockCrc set. data is not populated.CompressedBlock compressBlockToWriter(const(ubyte)[] input, int blockSize100k, uint originalDataCrc, BitWriter * bw)Compress a block into a provided BitWriter without flushing.
Writes all block header, symbol map, selectors, Huffman tables, and encoded symbol data through the given BitWriter. The caller must flush the writer and consume output separately. Used internally by Bzip2Compressor to maintain a continuous bitstream across blocks and the EOS trailer.
input | RLE1-encoded input data. |
blockSize100k | Block size multiplier (1-9). |
originalDataCrc | Pre-computed CRC of original (pre-RLE1) data, or 0 to compute. |
bw | BitWriter to write block data into. |
blockCrc set. data is not populated.