nioBufferCount() — netty Function Reference
Architecture documentation for the nioBufferCount() function in CompositeByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0cc881c8_53ab_8ded_30ad_3bb95c4880ab["nioBufferCount()"] 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6["CompositeByteBuf"] 0cc881c8_53ab_8ded_30ad_3bb95c4880ab -->|defined in| 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6 ef81abf8_e155_b7e4_fb6e_952e0170c90f["getBytes()"] ef81abf8_e155_b7e4_fb6e_952e0170c90f -->|calls| 0cc881c8_53ab_8ded_30ad_3bb95c4880ab 67892dec_e805_f85c_7c2a_6a7023a18ba2["ByteBuffer()"] 67892dec_e805_f85c_7c2a_6a7023a18ba2 -->|calls| 0cc881c8_53ab_8ded_30ad_3bb95c4880ab 4b8806f4_7999_2590_e28e_7826721fada3["nioBuffers()"] 4b8806f4_7999_2590_e28e_7826721fada3 -->|calls| 0cc881c8_53ab_8ded_30ad_3bb95c4880ab style 0cc881c8_53ab_8ded_30ad_3bb95c4880ab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java lines 1656–1671
@Override
public int nioBufferCount() {
int size = componentCount;
switch (size) {
case 0:
return 1;
case 1:
return components[0].buf.nioBufferCount();
default:
int count = 0;
for (int i = 0; i < size; i++) {
count += components[i].buf.nioBufferCount();
}
return count;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does nioBufferCount() do?
nioBufferCount() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java.
Where is nioBufferCount() defined?
nioBufferCount() is defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java at line 1656.
What calls nioBufferCount()?
nioBufferCount() is called by 3 function(s): ByteBuffer, getBytes, nioBuffers.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free