_getUnsignedMediumLE() — netty Function Reference
Architecture documentation for the _getUnsignedMediumLE() function in CompositeByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 31bd00b2_7cba_15bc_c5f5_6fb130aa3550["_getUnsignedMediumLE()"] 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6["CompositeByteBuf"] 31bd00b2_7cba_15bc_c5f5_6fb130aa3550 -->|defined in| 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6 d3be0b0f_c8ba_dc16_970f_8a5302e005af["idx()"] 31bd00b2_7cba_15bc_c5f5_6fb130aa3550 -->|calls| d3be0b0f_c8ba_dc16_970f_8a5302e005af 5d389519_3ef7_6e68_9f2b_581c587a5a88["_getShortLE()"] 31bd00b2_7cba_15bc_c5f5_6fb130aa3550 -->|calls| 5d389519_3ef7_6e68_9f2b_581c587a5a88 43463545_972b_f928_94bd_1067c8bc534c["_getByte()"] 31bd00b2_7cba_15bc_c5f5_6fb130aa3550 -->|calls| 43463545_972b_f928_94bd_1067c8bc534c style 31bd00b2_7cba_15bc_c5f5_6fb130aa3550 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java lines 1000–1010
@Override
protected int _getUnsignedMediumLE(int index) {
Component c = findComponent0(index);
if (index + 3 <= c.endOffset) {
return c.buf.getUnsignedMediumLE(c.idx(index));
} else if (order() == ByteOrder.BIG_ENDIAN) {
return _getShortLE(index) & 0xffff | (_getByte(index + 2) & 0xff) << 16;
} else {
return (_getShortLE(index) & 0xffff) << 8 | _getByte(index + 2) & 0xff;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does _getUnsignedMediumLE() do?
_getUnsignedMediumLE() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java.
Where is _getUnsignedMediumLE() defined?
_getUnsignedMediumLE() is defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java at line 1000.
What does _getUnsignedMediumLE() call?
_getUnsignedMediumLE() calls 3 function(s): _getByte, _getShortLE, idx.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free