verifyCrc() — netty Function Reference
Architecture documentation for the verifyCrc() function in JdkZlibDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b05f4322_2917_b60e_0c34_198b6d36ffdc["verifyCrc()"] bba68af7_04c2_8ee6_82f0_73e08fa3f9cd["JdkZlibDecoder"] b05f4322_2917_b60e_0c34_198b6d36ffdc -->|defined in| bba68af7_04c2_8ee6_82f0_73e08fa3f9cd d0cd03db_9b26_0705_c3cd_3780ad92c927["readGZIPFooter()"] d0cd03db_9b26_0705_c3cd_3780ad92c927 -->|calls| b05f4322_2917_b60e_0c34_198b6d36ffdc style b05f4322_2917_b60e_0c34_198b6d36ffdc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java lines 492–504
private boolean verifyCrc(ByteBuf in) {
if (in.readableBytes() < 4) {
return false;
}
long crcValue = in.readUnsignedIntLE();
long readCrc = crc.getValue();
if (crcValue != readCrc) {
throw new DecompressionException(
"CRC value mismatch. Expected: " + crcValue + ", Got: " + readCrc);
}
return true;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does verifyCrc() do?
verifyCrc() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java.
Where is verifyCrc() defined?
verifyCrc() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java at line 492.
What calls verifyCrc()?
verifyCrc() is called by 1 function(s): readGZIPFooter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free