Home / Function/ isEndOfInput() — netty Function Reference

isEndOfInput() — netty Function Reference

Architecture documentation for the isEndOfInput() function in ChunkedStream.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  9b83dcca_0832_88ba_fade_f60a77bed9eb["isEndOfInput()"]
  b4d9d424_2691_8f68_9a66_5c464afa8fb8["ChunkedStream"]
  9b83dcca_0832_88ba_fade_f60a77bed9eb -->|defined in| b4d9d424_2691_8f68_9a66_5c464afa8fb8
  2593cc8f_8866_9865_5ccf_a242b9a1f0a6["ByteBuf()"]
  2593cc8f_8866_9865_5ccf_a242b9a1f0a6 -->|calls| 9b83dcca_0832_88ba_fade_f60a77bed9eb
  style 9b83dcca_0832_88ba_fade_f60a77bed9eb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/stream/ChunkedStream.java lines 77–93

    @Override
    public boolean isEndOfInput() throws Exception {
        if (closed) {
            return true;
        }
        if (in.available() > 0) {
            return false;
        }

        int b = in.read();
        if (b < 0) {
            return true;
        } else {
            in.unread(b);
            return false;
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does isEndOfInput() do?
isEndOfInput() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/stream/ChunkedStream.java.
Where is isEndOfInput() defined?
isEndOfInput() is defined in handler/src/main/java/io/netty/handler/stream/ChunkedStream.java at line 77.
What calls isEndOfInput()?
isEndOfInput() is called by 1 function(s): ByteBuf.

Analyze Your Own Codebase

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

Try Supermodel Free