Home / Function/ memoryAddress() — netty Function Reference

memoryAddress() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1890580f_6f7f_153e_2c23_7d22a89def5b["memoryAddress()"]
  c3651b69_631a_1f76_b70c_086b089609c2["FixedCompositeByteBuf"]
  1890580f_6f7f_153e_2c23_7d22a89def5b -->|defined in| c3651b69_631a_1f76_b70c_086b089609c2
  style 1890580f_6f7f_153e_2c23_7d22a89def5b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java lines 650–660

    @Override
    public long memoryAddress() {
        switch (buffers.length) {
            case 0:
                return Unpooled.EMPTY_BUFFER.memoryAddress();
            case 1:
                return buffer(0).memoryAddress();
            default:
                throw new UnsupportedOperationException();
        }
    }

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/FixedCompositeByteBuf.java.
Where is memoryAddress() defined?
memoryAddress() is defined in buffer/src/main/java/io/netty/buffer/FixedCompositeByteBuf.java at line 650.

Analyze Your Own Codebase

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

Try Supermodel Free