_getShort() — netty Function Reference
Architecture documentation for the _getShort() function in FixedCompositeByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5c0d2c6b_db15_b786_301b_c0ef5474fe2b["_getShort()"] c3651b69_631a_1f76_b70c_086b089609c2["FixedCompositeByteBuf"] 5c0d2c6b_db15_b786_301b_c0ef5474fe2b -->|defined in| c3651b69_631a_1f76_b70c_086b089609c2 8f959994_1585_adce_43b0_af5db1a1b09e["_getUnsignedMedium()"] 8f959994_1585_adce_43b0_af5db1a1b09e -->|calls| 5c0d2c6b_db15_b786_301b_c0ef5474fe2b 56088213_797f_301b_95fd_47491cf84d60["_getInt()"] 56088213_797f_301b_95fd_47491cf84d60 -->|calls| 5c0d2c6b_db15_b786_301b_c0ef5474fe2b 49575469_2b31_d0b1_011d_d82e04508435["_getByte()"] 5c0d2c6b_db15_b786_301b_c0ef5474fe2b -->|calls| 49575469_2b31_d0b1_011d_d82e04508435 style 5c0d2c6b_db15_b786_301b_c0ef5474fe2b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java lines 271–281
@Override
protected short _getShort(int index) {
Component c = findComponent(index);
if (index + 2 <= c.endOffset) {
return c.buf.getShort(index - c.offset);
} else if (order() == ByteOrder.BIG_ENDIAN) {
return (short) ((_getByte(index) & 0xff) << 8 | _getByte(index + 1) & 0xff);
} else {
return (short) (_getByte(index) & 0xff | (_getByte(index + 1) & 0xff) << 8);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does _getShort() do?
_getShort() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java.
Where is _getShort() defined?
_getShort() is defined in buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java at line 271.
What does _getShort() call?
_getShort() calls 1 function(s): _getByte.
What calls _getShort()?
_getShort() is called by 2 function(s): _getInt, _getUnsignedMedium.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free