Home / Function/ setInput() — netty Function Reference

setInput() — netty Function Reference

Architecture documentation for the setInput() function in SpdyHeaderBlockZlibDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  966094b9_d155_4bfe_119e_1f30e062e3bf["setInput()"]
  3e933b4d_7bfe_3a56_91b7_1100f316848a["SpdyHeaderBlockZlibDecoder"]
  966094b9_d155_4bfe_119e_1f30e062e3bf -->|defined in| 3e933b4d_7bfe_3a56_91b7_1100f316848a
  55f940f4_62a0_5f9c_ae8e_7b27e9a877bd["decode()"]
  55f940f4_62a0_5f9c_ae8e_7b27e9a877bd -->|calls| 966094b9_d155_4bfe_119e_1f30e062e3bf
  style 966094b9_d155_4bfe_119e_1f30e062e3bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoder.java lines 59–71

    private int setInput(ByteBuf compressed) {
        int len = compressed.readableBytes();

        if (compressed.hasArray()) {
            decompressor.setInput(compressed.array(), compressed.arrayOffset() + compressed.readerIndex(), len);
        } else {
            byte[] in = new byte[len];
            compressed.getBytes(compressed.readerIndex(), in);
            decompressor.setInput(in, 0, in.length);
        }

        return len;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does setInput() do?
setInput() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoder.java.
Where is setInput() defined?
setInput() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoder.java at line 59.
What calls setInput()?
setInput() is called by 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free