Home / Function/ available() — netty Function Reference

available() — netty Function Reference

Architecture documentation for the available() function in OioByteStreamChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  707bdd56_2ea2_7d74_c5af_b688b8d21212["available()"]
  462ee44c_01dd_0264_afa1_574b02e134cf["OioByteStreamChannel"]
  707bdd56_2ea2_7d74_c5af_b688b8d21212 -->|defined in| 462ee44c_01dd_0264_afa1_574b02e134cf
  5459b100_ac86_863c_cbca_3f46245c2103["doReadBytes()"]
  5459b100_ac86_863c_cbca_3f46245c2103 -->|calls| 707bdd56_2ea2_7d74_c5af_b688b8d21212
  style 707bdd56_2ea2_7d74_c5af_b688b8d21212 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/oio/OioByteStreamChannel.java lines 98–105

    @Override
    protected int available() {
        try {
            return is.available();
        } catch (IOException ignored) {
            return 0;
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does available() do?
available() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/oio/OioByteStreamChannel.java.
Where is available() defined?
available() is defined in transport/src/main/java/io/netty/channel/oio/OioByteStreamChannel.java at line 98.
What calls available()?
available() is called by 1 function(s): doReadBytes.

Analyze Your Own Codebase

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

Try Supermodel Free