checkIndex() — netty Function Reference
Architecture documentation for the checkIndex() function in ReplayingDecoderByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 58bddeaa_f167_4d62_7a10_beb3e73728fa["checkIndex()"] 2f1efe3a_641f_b308_f73f_447128c0e44e["ReplayingDecoderByteBuf"] 58bddeaa_f167_4d62_7a10_beb3e73728fa -->|defined in| 2f1efe3a_641f_b308_f73f_447128c0e44e 0176dd09_44be_f27e_2f54_964b8d99c3be["ByteBuf()"] 0176dd09_44be_f27e_2f54_964b8d99c3be -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 12a5b1fa_a8fc_6f8e_eac0_99995a009720["getBoolean()"] 12a5b1fa_a8fc_6f8e_eac0_99995a009720 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 42e02870_574d_f84c_0e68_09044ce5306d["getByte()"] 42e02870_574d_f84c_0e68_09044ce5306d -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 3e43eb2e_b707_f0ad_8228_be0398545e8d["getUnsignedByte()"] 3e43eb2e_b707_f0ad_8228_be0398545e8d -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa f953ef89_8dbe_53ef_01c5_2545069d4934["getInt()"] f953ef89_8dbe_53ef_01c5_2545069d4934 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 189e6970_d699_68b9_4dfc_68d749a39fc3["getIntLE()"] 189e6970_d699_68b9_4dfc_68d749a39fc3 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa d533ca70_693f_db29_a7f8_3bba5c77a461["getUnsignedInt()"] d533ca70_693f_db29_a7f8_3bba5c77a461 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 54c088ec_7b38_498c_d3bd_4fff15ad4b14["getUnsignedIntLE()"] 54c088ec_7b38_498c_d3bd_4fff15ad4b14 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 8638cea4_9416_9748_ad4b_3d7955a98083["getLong()"] 8638cea4_9416_9748_ad4b_3d7955a98083 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 160489fe_22e5_25e9_eb1d_0fba3d6c981e["getLongLE()"] 160489fe_22e5_25e9_eb1d_0fba3d6c981e -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 2ec9db8e_f777_a05a_9174_ba8433182541["getMedium()"] 2ec9db8e_f777_a05a_9174_ba8433182541 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 7b12bafe_9c2b_085b_fb31_ecfbc405b96d["getMediumLE()"] 7b12bafe_9c2b_085b_fb31_ecfbc405b96d -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa 1b9988a4_4f2a_eae4_b119_0b9c91718e01["getUnsignedMedium()"] 1b9988a4_4f2a_eae4_b119_0b9c91718e01 -->|calls| 58bddeaa_f167_4d62_7a10_beb3e73728fa style 58bddeaa_f167_4d62_7a10_beb3e73728fa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java lines 1091–1095
private void checkIndex(int index, int length) {
if (index + length > buffer.writerIndex()) {
throw REPLAY;
}
}
Domain
Subdomains
Calls
Called By
- ByteBuf()
- ByteBuffer()
- CharSequence()
- String()
- getBoolean()
- getByte()
- getChar()
- getDouble()
- getFloat()
- getInt()
- getIntLE()
- getLong()
- getLongLE()
- getMedium()
- getMediumLE()
- getShort()
- getShortLE()
- getUnsignedByte()
- getUnsignedInt()
- getUnsignedIntLE()
- getUnsignedMedium()
- getUnsignedMediumLE()
- getUnsignedShort()
- getUnsignedShortLE()
- nioBuffers()
Source
Frequently Asked Questions
What does checkIndex() do?
checkIndex() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java.
Where is checkIndex() defined?
checkIndex() is defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java at line 1091.
What does checkIndex() call?
checkIndex() calls 1 function(s): writerIndex.
What calls checkIndex()?
checkIndex() is called by 25 function(s): ByteBuf, ByteBuffer, CharSequence, String, getBoolean, getByte, getChar, getDouble, and 17 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free