Home / Function/ checkDstIndex() — netty Function Reference

checkDstIndex() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 1434–1439

    protected final void checkDstIndex(int index, int length, int dstIndex, int dstCapacity) {
        checkIndex(index, length);
        if (checkBounds) {
            checkRangeBounds("dstIndex", dstIndex, length, dstCapacity);
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free