writeGetBytes() — netty Function Reference
Architecture documentation for the writeGetBytes() function in Utf8EncodingBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b2a9afd5_9bcf_edba_df77_f801c61c85db["writeGetBytes()"] 14a7a416_5aef_2dc8_262c_52585d9f0cac["Utf8EncodingBenchmark"] b2a9afd5_9bcf_edba_df77_f801c61c85db -->|defined in| 14a7a416_5aef_2dc8_262c_52585d9f0cac style b2a9afd5_9bcf_edba_df77_f801c61c85db fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java lines 265–276
@Benchmark
@CompilerControl(Mode.DONT_INLINE)
public int writeGetBytes() throws UnsupportedEncodingException {
int countBytes = 0;
for (String string : strings) {
buffer.resetWriterIndex();
final byte[] bytes = string.getBytes("UTF-8");
buffer.writeBytes(bytes);
countBytes += buffer.writerIndex();
}
return countBytes;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does writeGetBytes() do?
writeGetBytes() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java.
Where is writeGetBytes() defined?
writeGetBytes() is defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java at line 265.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free