Home / Function/ forEachByte() — netty Function Reference

forEachByte() — netty Function Reference

Architecture documentation for the forEachByte() function in CompositeByteBufSequentialBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cff93f70_418f_07af_ba79_ba9e8fa87d3f["forEachByte()"]
  a31cbcd2_284d_80df_b419_f14bc59b12cf["CompositeByteBufSequentialBenchmark"]
  cff93f70_418f_07af_ba79_ba9e8fa87d3f -->|defined in| a31cbcd2_284d_80df_b419_f14bc59b12cf
  style cff93f70_418f_07af_ba79_ba9e8fa87d3f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/buffer/CompositeByteBufSequentialBenchmark.java lines 87–92

    @Benchmark
    public int forEachByte() {
        buffer.setIndex(0, buffer.capacity());
        buffer.forEachByte(TEST_PROCESSOR);
        return buffer.forEachByteDesc(TEST_PROCESSOR);
    }

Domain

Subdomains

Frequently Asked Questions

What does forEachByte() do?
forEachByte() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/buffer/CompositeByteBufSequentialBenchmark.java.
Where is forEachByte() defined?
forEachByte() is defined in microbench/src/main/java/io/netty/buffer/CompositeByteBufSequentialBenchmark.java at line 87.

Analyze Your Own Codebase

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

Try Supermodel Free