processNibble() — netty Function Reference
Architecture documentation for the processNibble() function in HpackHuffmanDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 90e35007_ca12_f1f0_c231_aed4a6e3fc8b["processNibble()"] 75ae760e_009e_dc0c_af13_9cd0fad0853b["HpackHuffmanDecoder"] 90e35007_ca12_f1f0_c231_aed4a6e3fc8b -->|defined in| 75ae760e_009e_dc0c_af13_9cd0fad0853b 7ab112f9_1f08_f8d9_4b84_1251288c391a["process()"] 7ab112f9_1f08_f8d9_4b84_1251288c391a -->|calls| 90e35007_ca12_f1f0_c231_aed4a6e3fc8b style 90e35007_ca12_f1f0_c231_aed4a6e3fc8b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/HpackHuffmanDecoder.java lines 4722–4735
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
Source
Frequently Asked Questions
What does processNibble() do?
processNibble() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackHuffmanDecoder.java.
Where is processNibble() defined?
processNibble() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackHuffmanDecoder.java at line 4722.
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