getBytes() — netty Function Reference
Architecture documentation for the getBytes() function in AdaptivePoolingAllocator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 57c1d4e8_2f83_03da_aa55_345ed2144af3["getBytes()"] e9381b1a_dc06_843c_be7e_5e0eddee4a3a["AdaptiveByteBuf"] 57c1d4e8_2f83_03da_aa55_345ed2144af3 -->|defined in| e9381b1a_dc06_843c_be7e_5e0eddee4a3a 9928adc3_c1c7_6145_dd14_c9c1e6101da8["ByteBuf()"] 9928adc3_c1c7_6145_dd14_c9c1e6101da8 -->|calls| 57c1d4e8_2f83_03da_aa55_345ed2144af3 09330b09_48e7_0b2a_77f1_8be816eb5ff4["setCharSequence0()"] 09330b09_48e7_0b2a_77f1_8be816eb5ff4 -->|calls| 57c1d4e8_2f83_03da_aa55_345ed2144af3 style 57c1d4e8_2f83_03da_aa55_345ed2144af3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java lines 1898–1904
@Override
public int getBytes(int index, GatheringByteChannel out, int length)
throws IOException {
ByteBuffer buf = internalNioBuffer().duplicate();
buf.clear().position(index).limit(index + length);
return out.write(buf);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getBytes() do?
getBytes() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java.
Where is getBytes() defined?
getBytes() is defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java at line 1898.
What calls getBytes()?
getBytes() is called by 2 function(s): ByteBuf, setCharSequence0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free