Home / Function/ smallData() — netty Function Reference

smallData() — netty Function Reference

Architecture documentation for the smallData() function in BrotliDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6a95d9f8_8a4b_0bad_151b_0361cb6048b3["smallData()"]
  63f55b46_4f95_0492_5bc8_569080fc26cd["BrotliDecoderTest"]
  6a95d9f8_8a4b_0bad_151b_0361cb6048b3 -->|defined in| 63f55b46_4f95_0492_5bc8_569080fc26cd
  style 6a95d9f8_8a4b_0bad_151b_0361cb6048b3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliDecoderTest.java lines 94–99

    public static ByteBuf[] smallData() {
        ByteBuf heap = Unpooled.wrappedBuffer(COMPRESSED_BYTES_SMALL);
        ByteBuf direct = Unpooled.directBuffer(COMPRESSED_BYTES_SMALL.length);
        direct.writeBytes(COMPRESSED_BYTES_SMALL);
        return new ByteBuf[]{heap, direct};
    }

Domain

Subdomains

Frequently Asked Questions

What does smallData() do?
smallData() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliDecoderTest.java.
Where is smallData() defined?
smallData() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliDecoderTest.java at line 94.

Analyze Your Own Codebase

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

Try Supermodel Free