checkReadableBytes() — netty Function Reference
Architecture documentation for the checkReadableBytes() function in ReplayingDecoderByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c9a299b2_b43c_ccbb_07a9_5770316dcfcc["checkReadableBytes()"] 2f1efe3a_641f_b308_f73f_447128c0e44e["ReplayingDecoderByteBuf"] c9a299b2_b43c_ccbb_07a9_5770316dcfcc -->|defined in| 2f1efe3a_641f_b308_f73f_447128c0e44e e7582b2e_8c3f_d370_ecd6_154d520029bb["readBoolean()"] e7582b2e_8c3f_d370_ecd6_154d520029bb -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 1571485c_f977_ac7f_8343_84af12b14593["readByte()"] 1571485c_f977_ac7f_8343_84af12b14593 -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 57865755_37c4_a667_883c_f21883498f0a["readUnsignedByte()"] 57865755_37c4_a667_883c_f21883498f0a -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 0176dd09_44be_f27e_2f54_964b8d99c3be["ByteBuf()"] 0176dd09_44be_f27e_2f54_964b8d99c3be -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 62ce1169_c0ba_e54f_4c41_8734d4213f7c["readInt()"] 62ce1169_c0ba_e54f_4c41_8734d4213f7c -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc e595e219_f115_6c93_84f3_0bc894372d6d["readIntLE()"] e595e219_f115_6c93_84f3_0bc894372d6d -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc dc2a47c3_c3ae_4547_c8b2_e80394f2f5a0["readUnsignedInt()"] dc2a47c3_c3ae_4547_c8b2_e80394f2f5a0 -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 1cbca2c5_0057_7148_5b09_4294a523e960["readUnsignedIntLE()"] 1cbca2c5_0057_7148_5b09_4294a523e960 -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc a3d4f08e_fe78_ee5b_b777_80e33c305947["readLong()"] a3d4f08e_fe78_ee5b_b777_80e33c305947 -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 453090d1_f94b_3799_2d66_c2e748087965["readLongLE()"] 453090d1_f94b_3799_2d66_c2e748087965 -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc f8ca96cf_594f_ff0f_a465_ddaaddfd89ac["readMedium()"] f8ca96cf_594f_ff0f_a465_ddaaddfd89ac -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 83d9120f_f0eb_cb6c_25e2_d62a42f358bd["readMediumLE()"] 83d9120f_f0eb_cb6c_25e2_d62a42f358bd -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc 82e0dcfa_24cd_2fe2_dca1_df0e0266a00d["readUnsignedMedium()"] 82e0dcfa_24cd_2fe2_dca1_df0e0266a00d -->|calls| c9a299b2_b43c_ccbb_07a9_5770316dcfcc style c9a299b2_b43c_ccbb_07a9_5770316dcfcc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java lines 1097–1101
private void checkReadableBytes(int readableBytes) {
if (buffer.readableBytes() < readableBytes) {
throw REPLAY;
}
}
Domain
Subdomains
Calls
Called By
- ByteBuf()
- CharSequence()
- String()
- readBoolean()
- readByte()
- readChar()
- readDouble()
- readFloat()
- readInt()
- readIntLE()
- readLong()
- readLongLE()
- readMedium()
- readMediumLE()
- readShort()
- readShortLE()
- readUnsignedByte()
- readUnsignedInt()
- readUnsignedIntLE()
- readUnsignedMedium()
- readUnsignedMediumLE()
- readUnsignedShort()
- readUnsignedShortLE()
Source
Frequently Asked Questions
What does checkReadableBytes() do?
checkReadableBytes() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java.
Where is checkReadableBytes() defined?
checkReadableBytes() is defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java at line 1097.
What does checkReadableBytes() call?
checkReadableBytes() calls 1 function(s): readableBytes.
What calls checkReadableBytes()?
checkReadableBytes() is called by 23 function(s): ByteBuf, CharSequence, String, readBoolean, readByte, readChar, readDouble, readFloat, and 15 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free