getLong() — netty Function Reference
Architecture documentation for the getLong() function in UnsafeByteBufUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4acdfa3f_e7ee_0b55_b5b4_a31a048ebc99["getLong()"] 2f99d7c3_a5a0_5538_ae7e_a825ef1ab37a["UnsafeByteBufUtil"] 4acdfa3f_e7ee_0b55_b5b4_a31a048ebc99 -->|defined in| 2f99d7c3_a5a0_5538_ae7e_a825ef1ab37a de99570b_fd13_cd25_83b3_191137fc2991["getLongLE()"] de99570b_fd13_cd25_83b3_191137fc2991 -->|calls| 4acdfa3f_e7ee_0b55_b5b4_a31a048ebc99 d356e941_856a_4a4d_00ac_1449a287f3a1["getByte()"] 4acdfa3f_e7ee_0b55_b5b4_a31a048ebc99 -->|calls| d356e941_856a_4a4d_00ac_1449a287f3a1 style 4acdfa3f_e7ee_0b55_b5b4_a31a048ebc99 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/UnsafeByteBufUtil.java lines 103–116
static long getLong(long address) {
if (UNALIGNED) {
long v = PlatformDependent.getLong(address);
return BIG_ENDIAN_NATIVE_ORDER ? v : Long.reverseBytes(v);
}
return ((long) PlatformDependent.getByte(address)) << 56 |
(PlatformDependent.getByte(address + 1) & 0xffL) << 48 |
(PlatformDependent.getByte(address + 2) & 0xffL) << 40 |
(PlatformDependent.getByte(address + 3) & 0xffL) << 32 |
(PlatformDependent.getByte(address + 4) & 0xffL) << 24 |
(PlatformDependent.getByte(address + 5) & 0xffL) << 16 |
(PlatformDependent.getByte(address + 6) & 0xffL) << 8 |
(PlatformDependent.getByte(address + 7)) & 0xffL;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getLong() do?
getLong() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/UnsafeByteBufUtil.java.
Where is getLong() defined?
getLong() is defined in buffer/src/main/java/io/netty/buffer/UnsafeByteBufUtil.java at line 103.
What does getLong() call?
getLong() calls 1 function(s): getByte.
What calls getLong()?
getLong() is called by 1 function(s): getLongLE.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free