checkMaxBytesRead() — netty Function Reference
Architecture documentation for the checkMaxBytesRead() function in BoundedInputStream.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 443fa760_babe_f7dc_6b47_05cd437efecc["checkMaxBytesRead()"] 3aec0f93_110d_60bf_b686_6b9c301f7005["BoundedInputStream"] 443fa760_babe_f7dc_6b47_05cd437efecc -->|defined in| 3aec0f93_110d_60bf_b686_6b9c301f7005 5c7f5e69_7f63_1260_b1b5_77c0775da80a["read()"] 5c7f5e69_7f63_1260_b1b5_77c0775da80a -->|calls| 443fa760_babe_f7dc_6b47_05cd437efecc style 443fa760_babe_f7dc_6b47_05cd437efecc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/BoundedInputStream.java lines 64–68
private void checkMaxBytesRead() throws IOException {
if (numRead > maxBytesRead) {
throw new IOException("Maximum number of bytes read: " + numRead);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does checkMaxBytesRead() do?
checkMaxBytesRead() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/BoundedInputStream.java.
Where is checkMaxBytesRead() defined?
checkMaxBytesRead() is defined in common/src/main/java/io/netty/util/internal/BoundedInputStream.java at line 64.
What calls checkMaxBytesRead()?
checkMaxBytesRead() 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