Home / Function/ getLong0() — netty Function Reference

getLong0() — netty Function Reference

Architecture documentation for the getLong0() function in HeapByteBufUtil.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  af22ea41_b9b1_03f0_4d3c_d980e8402280["getLong0()"]
  96900c63_c206_9fee_a447_dc63a822832b["HeapByteBufUtil"]
  af22ea41_b9b1_03f0_4d3c_d980e8402280 -->|defined in| 96900c63_c206_9fee_a447_dc63a822832b
  3955a973_3315_e360_8b6c_c84d69bbd802["getLong()"]
  3955a973_3315_e360_8b6c_c84d69bbd802 -->|calls| af22ea41_b9b1_03f0_4d3c_d980e8402280
  style af22ea41_b9b1_03f0_4d3c_d980e8402280 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/HeapByteBufUtil.java lines 94–103

    private static long getLong0(byte[] memory, int index) {
        return ((long) memory[index] & 0xFF) << 56 |
               ((long) memory[index + 1] & 0xFF) << 48 |
               ((long) memory[index + 2] & 0xFF) << 40 |
               ((long) memory[index + 3] & 0xFF) << 32 |
               ((long) memory[index + 4] & 0xFF) << 24 |
               ((long) memory[index + 5] & 0xFF) << 16 |
               ((long) memory[index + 6] & 0xFF) << 8 |
               ((long) memory[index + 7] & 0xFF);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does getLong0() do?
getLong0() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/HeapByteBufUtil.java.
Where is getLong0() defined?
getLong0() is defined in buffer/src/main/java/io/netty/buffer/HeapByteBufUtil.java at line 94.
What calls getLong0()?
getLong0() is called by 1 function(s): getLong.

Analyze Your Own Codebase

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

Try Supermodel Free