isEndOfInput() — netty Function Reference
Architecture documentation for the isEndOfInput() function in ChunkedNioStream.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 62d1c324_2b97_fc63_4537_3a918503ed04["isEndOfInput()"] f7b60d34_9e23_4cf6_d410_944cfb4f6ba4["ChunkedNioStream"] 62d1c324_2b97_fc63_4537_3a918503ed04 -->|defined in| f7b60d34_9e23_4cf6_d410_944cfb4f6ba4 22eb6ccb_411b_e7bb_0574_dfe1ee306e23["ByteBuf()"] 22eb6ccb_411b_e7bb_0574_dfe1ee306e23 -->|calls| 62d1c324_2b97_fc63_4537_3a918503ed04 style 62d1c324_2b97_fc63_4537_3a918503ed04 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/stream/ChunkedNioStream.java lines 71–88
@Override
public boolean isEndOfInput() throws Exception {
if (byteBuffer.position() > 0) {
// A previous read was not over, so there is a next chunk in the buffer at least
return false;
}
if (in.isOpen()) {
// Try to read a new part, and keep this part (no rewind)
int b = in.read(byteBuffer);
if (b < 0) {
return true;
} else {
offset += b;
return false;
}
}
return true;
}
Domain
Subdomains
Called By
Source
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/ChunkedNioStream.java.
Where is isEndOfInput() defined?
isEndOfInput() is defined in handler/src/main/java/io/netty/handler/stream/ChunkedNioStream.java at line 71.
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