Home / Function/ getBufferAddress() — netty Function Reference

getBufferAddress() — netty Function Reference

Architecture documentation for the getBufferAddress() function in Iov.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  126da524_2c41_1284_afeb_bf3d64407712["getBufferAddress()"]
  161f2bdb_4389_f834_83e1_58a1c10b9212["Iov"]
  126da524_2c41_1284_afeb_bf3d64407712 -->|defined in| 161f2bdb_4389_f834_83e1_58a1c10b9212
  style 126da524_2c41_1284_afeb_bf3d64407712 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/Iov.java lines 44–50

    static long getBufferAddress(ByteBuffer iov) {
        if (Native.SIZEOF_SIZE_T == 4) {
            return iov.getInt(iov.position() + Native.IOVEC_OFFSETOF_IOV_BASE);
        }
        assert Native.SIZEOF_SIZE_T == 8;
        return iov.getLong(iov.position() + Native.IOVEC_OFFSETOF_IOV_BASE);
    }

Domain

Subdomains

Frequently Asked Questions

What does getBufferAddress() do?
getBufferAddress() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/Iov.java.
Where is getBufferAddress() defined?
getBufferAddress() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/Iov.java at line 44.

Analyze Your Own Codebase

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

Try Supermodel Free