Home / Function/ memoryAddress() — netty Function Reference

memoryAddress() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  faae85fa_da69_8b40_c8db_184a63d8e718["memoryAddress()"]
  9d6a7cd0_08a5_9155_3c10_b8a8fd6480e9["UnpooledDirectByteBuf"]
  faae85fa_da69_8b40_c8db_184a63d8e718 -->|defined in| 9d6a7cd0_08a5_9155_3c10_b8a8fd6480e9
  8683cff7_ef99_558d_0bd4_d6e29352e2d2["hasMemoryAddress()"]
  faae85fa_da69_8b40_c8db_184a63d8e718 -->|calls| 8683cff7_ef99_558d_0bd4_d6e29352e2d2
  style faae85fa_da69_8b40_c8db_184a63d8e718 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java lines 228–235

    @Override
    public long memoryAddress() {
        ensureAccessible();
        if (!hasMemoryAddress()) {
            throw new UnsupportedOperationException();
        }
        return cleanable.memoryAddress();
    }

Domain

Subdomains

Frequently Asked Questions

What does memoryAddress() do?
memoryAddress() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java.
Where is memoryAddress() defined?
memoryAddress() is defined in buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java at line 228.
What does memoryAddress() call?
memoryAddress() calls 1 function(s): hasMemoryAddress.

Analyze Your Own Codebase

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

Try Supermodel Free