_getInt() — netty Function Reference
Architecture documentation for the _getInt() function in CompositeByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2bb85f8b_bb4f_2de1_76d8_5043a502596c["_getInt()"] 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6["CompositeByteBuf"] 2bb85f8b_bb4f_2de1_76d8_5043a502596c -->|defined in| 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6 c4e9800d_e121_a64d_e2fa_361037009484["_getLong()"] c4e9800d_e121_a64d_e2fa_361037009484 -->|calls| 2bb85f8b_bb4f_2de1_76d8_5043a502596c d3be0b0f_c8ba_dc16_970f_8a5302e005af["idx()"] 2bb85f8b_bb4f_2de1_76d8_5043a502596c -->|calls| d3be0b0f_c8ba_dc16_970f_8a5302e005af 33a1aee1_2f1b_da90_e994_f33f127e60a3["_getShort()"] 2bb85f8b_bb4f_2de1_76d8_5043a502596c -->|calls| 33a1aee1_2f1b_da90_e994_f33f127e60a3 style 2bb85f8b_bb4f_2de1_76d8_5043a502596c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java lines 1012–1022
@Override
protected int _getInt(int index) {
Component c = findComponent0(index);
if (index + 4 <= c.endOffset) {
return c.buf.getInt(c.idx(index));
} else if (order() == ByteOrder.BIG_ENDIAN) {
return (_getShort(index) & 0xffff) << 16 | _getShort(index + 2) & 0xffff;
} else {
return _getShort(index) & 0xFFFF | (_getShort(index + 2) & 0xFFFF) << 16;
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does _getInt() do?
_getInt() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java.
Where is _getInt() defined?
_getInt() is defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java at line 1012.
What does _getInt() call?
_getInt() calls 2 function(s): _getShort, idx.
What calls _getInt()?
_getInt() is called by 1 function(s): _getLong.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free