Home / Function/ available() — netty Function Reference

available() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f9741ecc_8ca4_770e_d03b_869f6c69a3a2["available()"]
  907e0286_f82d_48a9_4e67_b65a6eddacb2["ChannelBufferByteInput"]
  f9741ecc_8ca4_770e_d03b_869f6c69a3a2 -->|defined in| 907e0286_f82d_48a9_4e67_b65a6eddacb2
  781e14d7_b90d_211e_ab7f_d2855df470d5["read()"]
  781e14d7_b90d_211e_ab7f_d2855df470d5 -->|calls| f9741ecc_8ca4_770e_d03b_869f6c69a3a2
  style f9741ecc_8ca4_770e_d03b_869f6c69a3a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/ChannelBufferByteInput.java lines 39–42

    @Override
    public int available() throws IOException {
        return buffer.readableBytes();
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does available() do?
available() is a function in the netty codebase, defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/ChannelBufferByteInput.java.
Where is available() defined?
available() is defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/ChannelBufferByteInput.java at line 39.
What calls available()?
available() is called by 1 function(s): read.

Analyze Your Own Codebase

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

Try Supermodel Free