Home / Function/ read() — netty Function Reference

read() — netty Function Reference

Architecture documentation for the read() function in BoundedInputStream.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5c7f5e69_7f63_1260_b1b5_77c0775da80a["read()"]
  3aec0f93_110d_60bf_b686_6b9c301f7005["BoundedInputStream"]
  5c7f5e69_7f63_1260_b1b5_77c0775da80a -->|defined in| 3aec0f93_110d_60bf_b686_6b9c301f7005
  443fa760_babe_f7dc_6b47_05cd437efecc["checkMaxBytesRead()"]
  5c7f5e69_7f63_1260_b1b5_77c0775da80a -->|calls| 443fa760_babe_f7dc_6b47_05cd437efecc
  style 5c7f5e69_7f63_1260_b1b5_77c0775da80a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/BoundedInputStream.java lines 38–47

    @Override
    public int read() throws IOException {
        checkMaxBytesRead();

        int b = super.read();
        if (b != -1) {
            numRead++;
        }
        return b;
    }

Domain

Subdomains

Frequently Asked Questions

What does read() do?
read() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/BoundedInputStream.java.
Where is read() defined?
read() is defined in common/src/main/java/io/netty/util/internal/BoundedInputStream.java at line 38.
What does read() call?
read() calls 1 function(s): checkMaxBytesRead.

Analyze Your Own Codebase

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

Try Supermodel Free