newByteBuf() — netty Function Reference
Architecture documentation for the newByteBuf() function in PoolArena.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 655554c5_fa98_ac77_8032_ee339e241100["newByteBuf()"] 36625935_0489_2b34_5e92_67f0dfdfa3f7["DirectArena"] 655554c5_fa98_ac77_8032_ee339e241100 -->|defined in| 36625935_0489_2b34_5e92_67f0dfdfa3f7 b2dab5a1_2c8a_6b7d_7572_856bc384aa6d["newByteBuf()"] 655554c5_fa98_ac77_8032_ee339e241100 -->|calls| b2dab5a1_2c8a_6b7d_7572_856bc384aa6d style 655554c5_fa98_ac77_8032_ee339e241100 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/PoolArena.java lines 776–783
@Override
protected PooledByteBuf<ByteBuffer> newByteBuf(int maxCapacity) {
if (HAS_UNSAFE) {
return PooledUnsafeDirectByteBuf.newInstance(maxCapacity);
} else {
return PooledDirectByteBuf.newInstance(maxCapacity);
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does newByteBuf() do?
newByteBuf() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolArena.java.
Where is newByteBuf() defined?
newByteBuf() is defined in buffer/src/main/java/io/netty/buffer/PoolArena.java at line 776.
What does newByteBuf() call?
newByteBuf() calls 1 function(s): newByteBuf.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free