Home / Function/ forEachByte() — netty Function Reference

forEachByte() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  769c836d_6f04_90d2_49db_cd67788f5539["forEachByte()"]
  2f1efe3a_641f_b308_f73f_447128c0e44e["ReplayingDecoderByteBuf"]
  769c836d_6f04_90d2_49db_cd67788f5539 -->|defined in| 2f1efe3a_641f_b308_f73f_447128c0e44e
  81568e7c_2ce5_fda3_33ff_2c665cd1622b["writerIndex()"]
  769c836d_6f04_90d2_49db_cd67788f5539 -->|calls| 81568e7c_2ce5_fda3_33ff_2c665cd1622b
  style 769c836d_6f04_90d2_49db_cd67788f5539 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java lines 412–420

    @Override
    public int forEachByte(ByteProcessor processor) {
        int ret = buffer.forEachByte(processor);
        if (ret < 0) {
            throw REPLAY;
        } else {
            return ret;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does forEachByte() do?
forEachByte() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java.
Where is forEachByte() defined?
forEachByte() is defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java at line 412.
What does forEachByte() call?
forEachByte() calls 1 function(s): writerIndex.

Analyze Your Own Codebase

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

Try Supermodel Free