Home / Function/ decodeNextBWTByte() — netty Function Reference

decodeNextBWTByte() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d2ed781b_719e_980f_4eff_c05fa72e51bb["decodeNextBWTByte()"]
  5e864d32_96fc_3bee_77e4_3eeb1e9d6e8d["Bzip2BlockDecompressor"]
  d2ed781b_719e_980f_4eff_c05fa72e51bb -->|defined in| 5e864d32_96fc_3bee_77e4_3eeb1e9d6e8d
  fab9e775_efed_58a1_4371_9a4cc6690133["read()"]
  fab9e775_efed_58a1_4371_9a4cc6690133 -->|calls| d2ed781b_719e_980f_4eff_c05fa72e51bb
  style d2ed781b_719e_980f_4eff_c05fa72e51bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2BlockDecompressor.java lines 317–332

    private int decodeNextBWTByte() {
        int mergedPointer = bwtCurrentMergedPointer;
        int nextDecodedByte =  mergedPointer & 0xff;
        bwtCurrentMergedPointer = bwtMergedPointers[mergedPointer >>> 8];

        if (blockRandomised) {
            if (--randomCount == 0) {
                nextDecodedByte ^= 1;
                randomIndex = (randomIndex + 1) % 512;
                randomCount = Bzip2Rand.rNums(randomIndex);
            }
        }
        bwtBytesDecoded++;

        return nextDecodedByte;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does decodeNextBWTByte() do?
decodeNextBWTByte() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2BlockDecompressor.java.
Where is decodeNextBWTByte() defined?
decodeNextBWTByte() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2BlockDecompressor.java at line 317.
What calls decodeNextBWTByte()?
decodeNextBWTByte() is called by 1 function(s): read.

Analyze Your Own Codebase

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

Try Supermodel Free