Home / Function/ _getLongLE() — netty Function Reference

_getLongLE() — netty Function Reference

Architecture documentation for the _getLongLE() function in CompositeByteBuf.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7f47fb34_715f_b7f8_6f12_1757176c8137["_getLongLE()"]
  6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6["CompositeByteBuf"]
  7f47fb34_715f_b7f8_6f12_1757176c8137 -->|defined in| 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6
  d3be0b0f_c8ba_dc16_970f_8a5302e005af["idx()"]
  7f47fb34_715f_b7f8_6f12_1757176c8137 -->|calls| d3be0b0f_c8ba_dc16_970f_8a5302e005af
  6e691bb1_7026_aa01_b194_50da474f4630["_getIntLE()"]
  7f47fb34_715f_b7f8_6f12_1757176c8137 -->|calls| 6e691bb1_7026_aa01_b194_50da474f4630
  style 7f47fb34_715f_b7f8_6f12_1757176c8137 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java lines 1048–1058

    @Override
    protected long _getLongLE(int index) {
        Component c = findComponent0(index);
        if (index + 8 <= c.endOffset) {
            return c.buf.getLongLE(c.idx(index));
        } else if (order() == ByteOrder.BIG_ENDIAN) {
            return _getIntLE(index) & 0xffffffffL | (_getIntLE(index + 4) & 0xffffffffL) << 32;
        } else {
            return (_getIntLE(index) & 0xffffffffL) << 32 | _getIntLE(index + 4) & 0xffffffffL;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does _getLongLE() do?
_getLongLE() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java.
Where is _getLongLE() defined?
_getLongLE() is defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java at line 1048.
What does _getLongLE() call?
_getLongLE() calls 2 function(s): _getIntLE, idx.

Analyze Your Own Codebase

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

Try Supermodel Free