Home / Function/ memoryAddress() — netty Function Reference

memoryAddress() — netty Function Reference

Architecture documentation for the memoryAddress() function in Buffer.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cc1400a2_12aa_f8ff_7705_2182cd3d19fa["memoryAddress()"]
  0c9afafd_d1d6_54ea_20a8_b2070b867959["Buffer"]
  cc1400a2_12aa_f8ff_7705_2182cd3d19fa -->|defined in| 0c9afafd_d1d6_54ea_20a8_b2070b867959
  f0c92919_cb5b_b12f_d5fd_786801f4928e["memoryAddress0()"]
  cc1400a2_12aa_f8ff_7705_2182cd3d19fa -->|calls| f0c92919_cb5b_b12f_d5fd_786801f4928e
  style cc1400a2_12aa_f8ff_7705_2182cd3d19fa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/Buffer.java lines 63–69

    public static long memoryAddress(ByteBuffer buffer) {
        assert buffer.isDirect();
        if (PlatformDependent.hasUnsafe()) {
            return PlatformDependent.directBufferAddress(buffer);
        }
        return memoryAddress0(buffer);
    }

Domain

Subdomains

Frequently Asked Questions

What does memoryAddress() do?
memoryAddress() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Buffer.java.
Where is memoryAddress() defined?
memoryAddress() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Buffer.java at line 63.
What does memoryAddress() call?
memoryAddress() calls 1 function(s): memoryAddress0.

Analyze Your Own Codebase

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

Try Supermodel Free