readU16() — netty Function Reference
Architecture documentation for the readU16() function in FastLz.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD dd7e1ac4_b45d_9cfb_2ce3_1576201c58e8["readU16()"] 98671d94_5a6d_343c_6d73_292cd19cfd19["FastLz"] dd7e1ac4_b45d_9cfb_2ce3_1576201c58e8 -->|defined in| 98671d94_5a6d_343c_6d73_292cd19cfd19 2e9a6712_fc03_7631_0209_22e699baf3b2["compress()"] 2e9a6712_fc03_7631_0209_22e699baf3b2 -->|calls| dd7e1ac4_b45d_9cfb_2ce3_1576201c58e8 caa54910_d565_ad45_1f26_c35707051a0c["hashFunction()"] caa54910_d565_ad45_1f26_c35707051a0c -->|calls| dd7e1ac4_b45d_9cfb_2ce3_1576201c58e8 style dd7e1ac4_b45d_9cfb_2ce3_1576201c58e8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/FastLz.java lines 552–557
private static int readU16(ByteBuf data, int offset) {
if (offset + 1 >= data.readableBytes()) {
return data.getUnsignedByte(offset);
}
return data.getUnsignedByte(offset + 1) << 8 | data.getUnsignedByte(offset);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does readU16() do?
readU16() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/FastLz.java.
Where is readU16() defined?
readU16() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/FastLz.java at line 552.
What calls readU16()?
readU16() is called by 2 function(s): compress, hashFunction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free