Home / Function/ decode() — netty Function Reference

decode() — netty Function Reference

Architecture documentation for the decode() function in HpackDecoderBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  97f1784f_fbff_c6aa_9829_be0c0fcf2446["decode()"]
  dbf1ed73_3c87_ce6c_0048_5c86ce6f91ff["HpackDecoderBenchmark"]
  97f1784f_fbff_c6aa_9829_be0c0fcf2446 -->|defined in| dbf1ed73_3c87_ce6c_0048_5c86ce6f91ff
  style 97f1784f_fbff_c6aa_9829_be0c0fcf2446 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http2/HpackDecoderBenchmark.java lines 71–85

    @Benchmark
    @BenchmarkMode(Mode.Throughput)
    public void decode(final Blackhole bh) throws Http2Exception {
        HpackDecoder hpackDecoder = new HpackDecoder(Integer.MAX_VALUE);
        @SuppressWarnings("unchecked")
        Http2Headers headers =
                new DefaultHttp2Headers() {
            @Override
            public Http2Headers add(CharSequence name, CharSequence value) {
                bh.consume(sensitive);
                return this;
            }
        };
        hpackDecoder.decode(0, input.duplicate(), headers, true);
    }

Domain

Subdomains

Frequently Asked Questions

What does decode() do?
decode() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http2/HpackDecoderBenchmark.java.
Where is decode() defined?
decode() is defined in microbench/src/main/java/io/netty/handler/codec/http2/HpackDecoderBenchmark.java at line 71.

Analyze Your Own Codebase

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

Try Supermodel Free