Home / Function/ _getUnsignedMediumLE() — netty Function Reference

_getUnsignedMediumLE() — netty Function Reference

Architecture documentation for the _getUnsignedMediumLE() function in FixedCompositeByteBuf.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0f32422d_bb23_9a21_82f5_d63ceb188640["_getUnsignedMediumLE()"]
  c3651b69_631a_1f76_b70c_086b089609c2["FixedCompositeByteBuf"]
  0f32422d_bb23_9a21_82f5_d63ceb188640 -->|defined in| c3651b69_631a_1f76_b70c_086b089609c2
  d95dc6a7_daac_22c7_e689_068f5b949632["_getShortLE()"]
  0f32422d_bb23_9a21_82f5_d63ceb188640 -->|calls| d95dc6a7_daac_22c7_e689_068f5b949632
  49575469_2b31_d0b1_011d_d82e04508435["_getByte()"]
  0f32422d_bb23_9a21_82f5_d63ceb188640 -->|calls| 49575469_2b31_d0b1_011d_d82e04508435
  style 0f32422d_bb23_9a21_82f5_d63ceb188640 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java lines 307–317

    @Override
    protected int _getUnsignedMediumLE(int index) {
        Component c = findComponent(index);
        if (index + 3 <= c.endOffset) {
            return c.buf.getUnsignedMediumLE(index - c.offset);
        } 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

Frequently Asked Questions

What does _getUnsignedMediumLE() do?
_getUnsignedMediumLE() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java.
Where is _getUnsignedMediumLE() defined?
_getUnsignedMediumLE() is defined in buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java at line 307.
What does _getUnsignedMediumLE() call?
_getUnsignedMediumLE() calls 2 function(s): _getByte, _getShortLE.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free