Home / Function/ Bzip2BlockCompressor() — netty Function Reference

Bzip2BlockCompressor() — netty Function Reference

Architecture documentation for the Bzip2BlockCompressor() function in Bzip2BlockCompressor.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e8b3e716_b5f2_37ba_914c_38a5b70587b6["Bzip2BlockCompressor()"]
  14ecc34c_1aa7_b25b_4492_69c298ece54c["Bzip2BlockCompressor"]
  e8b3e716_b5f2_37ba_914c_38a5b70587b6 -->|defined in| 14ecc34c_1aa7_b25b_4492_69c298ece54c
  7cbb1b2c_aece_4497_adec_be1cc44c8782["close()"]
  e8b3e716_b5f2_37ba_914c_38a5b70587b6 -->|calls| 7cbb1b2c_aece_4497_adec_be1cc44c8782
  9c11989a_f32b_4f73_9dbc_19da6668a445["write()"]
  e8b3e716_b5f2_37ba_914c_38a5b70587b6 -->|calls| 9c11989a_f32b_4f73_9dbc_19da6668a445
  style e8b3e716_b5f2_37ba_914c_38a5b70587b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2BlockCompressor.java lines 96–103

    Bzip2BlockCompressor(final Bzip2BitWriter writer, final int blockSize) {
        this.writer = writer;

        // One extra byte is added to allow for the block wrap applied in close()
        block = new byte[blockSize + 1];
        bwtBlock = new int[blockSize + 1];
        blockLengthLimit = blockSize - 6; // 5 bytes for one RLE run plus one byte - see {@link #write(int)}
    }

Domain

Subdomains

Frequently Asked Questions

What does Bzip2BlockCompressor() do?
Bzip2BlockCompressor() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2BlockCompressor.java.
Where is Bzip2BlockCompressor() defined?
Bzip2BlockCompressor() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2BlockCompressor.java at line 96.
What does Bzip2BlockCompressor() call?
Bzip2BlockCompressor() calls 2 function(s): close, write.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free