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