Home / Function/ streamableBytes() — netty Function Reference

streamableBytes() — netty Function Reference

Architecture documentation for the streamableBytes() function in Http2CodecUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ff0356f4_eed0_0c00_fe44_16d301f196e3["streamableBytes()"]
  6edc25d4_1bef_4bc4_4c2d_9d321a931eff["Http2CodecUtil"]
  ff0356f4_eed0_0c00_fe44_16d301f196e3 -->|defined in| 6edc25d4_1bef_4bc4_4c2d_9d321a931eff
  style ff0356f4_eed0_0c00_fe44_16d301f196e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2CodecUtil.java lines 219–221

    public static int streamableBytes(StreamByteDistributor.StreamState state) {
        return max(0, (int) min(state.pendingBytes(), state.windowSize()));
    }

Domain

Subdomains

Frequently Asked Questions

What does streamableBytes() do?
streamableBytes() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2CodecUtil.java.
Where is streamableBytes() defined?
streamableBytes() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2CodecUtil.java at line 219.

Analyze Your Own Codebase

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

Try Supermodel Free