Home / Function/ ByteBuffer() — netty Function Reference

ByteBuffer() — netty Function Reference

Architecture documentation for the ByteBuffer() function in PlatformDependent0.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  de83e9dd_14d5_3190_cad1_4b5f263b393d["ByteBuffer()"]
  be4c38f2_d236_e498_c295_1033d2617879["PlatformDependent0"]
  de83e9dd_14d5_3190_cad1_4b5f263b393d -->|defined in| be4c38f2_d236_e498_c295_1033d2617879
  b6a60c48_f0a7_d55c_0e9f_71ddccca54ad["reallocateMemory()"]
  de83e9dd_14d5_3190_cad1_4b5f263b393d -->|calls| b6a60c48_f0a7_d55c_0e9f_71ddccca54ad
  1ea83914_cdcf_021e_23f5_2b9ff5cdfbc3["directBufferAddress()"]
  de83e9dd_14d5_3190_cad1_4b5f263b393d -->|calls| 1ea83914_cdcf_021e_23f5_2b9ff5cdfbc3
  e390ac99_421c_bd4f_5e7c_dccd29ff4911["allocateMemory()"]
  de83e9dd_14d5_3190_cad1_4b5f263b393d -->|calls| e390ac99_421c_bd4f_5e7c_dccd29ff4911
  8b8534db_ad7e_5cb1_6b94_f3efdd2dbc87["rethrowIfPossible()"]
  de83e9dd_14d5_3190_cad1_4b5f263b393d -->|calls| 8b8534db_ad7e_5cb1_6b94_f3efdd2dbc87
  style de83e9dd_14d5_3190_cad1_4b5f263b393d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/PlatformDependent0.java lines 663–665

    static ByteBuffer reallocateDirectNoCleaner(ByteBuffer buffer, int capacity) {
        return newDirectBuffer(UNSAFE.reallocateMemory(directBufferAddress(buffer), capacity), capacity);
    }

Domain

Subdomains

Frequently Asked Questions

What does ByteBuffer() do?
ByteBuffer() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/PlatformDependent0.java.
Where is ByteBuffer() defined?
ByteBuffer() is defined in common/src/main/java/io/netty/util/internal/PlatformDependent0.java at line 663.
What does ByteBuffer() call?
ByteBuffer() calls 4 function(s): allocateMemory, directBufferAddress, reallocateMemory, rethrowIfPossible.

Analyze Your Own Codebase

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

Try Supermodel Free