Home / Function/ processNibble() — netty Function Reference

processNibble() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ee79763d_1ce1_c963_bc8e_86866ad73744["processNibble()"]
  fdc838f2_6462_b845_23d3_793f69152983["QpackHuffmanDecoder"]
  ee79763d_1ce1_c963_bc8e_86866ad73744 -->|defined in| fdc838f2_6462_b845_23d3_793f69152983
  8ad45b78_06a3_2730_92b9_80d420a604b2["process()"]
  8ad45b78_06a3_2730_92b9_80d420a604b2 -->|calls| ee79763d_1ce1_c963_bc8e_86866ad73744
  style ee79763d_1ce1_c963_bc8e_86866ad73744 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackHuffmanDecoder.java lines 4703–4716

    private boolean processNibble(int input) {
        // The high nibble of the flags byte of each row is always zero
        // (low nibble after shifting row by 12), since there are only 3 flag bits
        int index = state >> 12 | (input & 0x0F);
        state = HUFFS[index];
        if ((state & HUFFMAN_FAIL_SHIFT) != 0) {
            return false;
        }
        if ((state & HUFFMAN_EMIT_SYMBOL_SHIFT) != 0) {
            // state is always positive so can cast without mask here
            dest[k++] = (byte) state;
        }
        return true;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does processNibble() do?
processNibble() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackHuffmanDecoder.java.
Where is processNibble() defined?
processNibble() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackHuffmanDecoder.java at line 4703.
What calls processNibble()?
processNibble() is called by 1 function(s): process.

Analyze Your Own Codebase

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

Try Supermodel Free