Home / Function/ checkSrcIndex() — netty Function Reference

checkSrcIndex() — netty Function Reference

Architecture documentation for the checkSrcIndex() function in AbstractByteBuf.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3a045d76_9a53_4c0e_ad42_1a2ae0561a8d["checkSrcIndex()"]
  bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"]
  3a045d76_9a53_4c0e_ad42_1a2ae0561a8d -->|defined in| bbab270f_457a_3319_83a8_0a0540484666
  bc9f46f3_e305_58ca_4e9e_9b8ccbb764fc["checkIndex()"]
  3a045d76_9a53_4c0e_ad42_1a2ae0561a8d -->|calls| bc9f46f3_e305_58ca_4e9e_9b8ccbb764fc
  15cf424b_5e92_41d8_3c0a_765fd2a2ea68["checkRangeBounds()"]
  3a045d76_9a53_4c0e_ad42_1a2ae0561a8d -->|calls| 15cf424b_5e92_41d8_3c0a_765fd2a2ea68
  style 3a045d76_9a53_4c0e_ad42_1a2ae0561a8d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 1427–1432

    protected final void checkSrcIndex(int index, int length, int srcIndex, int srcCapacity) {
        checkIndex(index, length);
        if (checkBounds) {
            checkRangeBounds("srcIndex", srcIndex, length, srcCapacity);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does checkSrcIndex() do?
checkSrcIndex() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java.
Where is checkSrcIndex() defined?
checkSrcIndex() is defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java at line 1427.
What does checkSrcIndex() call?
checkSrcIndex() calls 2 function(s): checkIndex, checkRangeBounds.

Analyze Your Own Codebase

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

Try Supermodel Free