Home / Function/ _getLong() — netty Function Reference

_getLong() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  573824f1_10bf_1a0d_2dac_f9332c21f548["_getLong()"]
  c3651b69_631a_1f76_b70c_086b089609c2["FixedCompositeByteBuf"]
  573824f1_10bf_1a0d_2dac_f9332c21f548 -->|defined in| c3651b69_631a_1f76_b70c_086b089609c2
  56088213_797f_301b_95fd_47491cf84d60["_getInt()"]
  573824f1_10bf_1a0d_2dac_f9332c21f548 -->|calls| 56088213_797f_301b_95fd_47491cf84d60
  style 573824f1_10bf_1a0d_2dac_f9332c21f548 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java lines 343–353

    @Override
    protected long _getLong(int index) {
        Component c = findComponent(index);
        if (index + 8 <= c.endOffset) {
            return c.buf.getLong(index - c.offset);
        } else if (order() == ByteOrder.BIG_ENDIAN) {
            return (_getInt(index) & 0xffffffffL) << 32 | _getInt(index + 4) & 0xffffffffL;
        } else {
            return _getInt(index) & 0xFFFFFFFFL | (_getInt(index + 4) & 0xFFFFFFFFL) << 32;
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does _getLong() do?
_getLong() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java.
Where is _getLong() defined?
_getLong() is defined in buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java at line 343.
What does _getLong() call?
_getLong() calls 1 function(s): _getInt.

Analyze Your Own Codebase

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

Try Supermodel Free