Home / Function/ smallData() — netty Function Reference

smallData() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  bdbe4ee1_a3aa_3465_2185_d22145fdb3f0["smallData()"]
  e75c2d44_55ff_20fb_58c6_157d886d9d30["AbstractEncoderTest"]
  bdbe4ee1_a3aa_3465_2185_d22145fdb3f0 -->|defined in| e75c2d44_55ff_20fb_58c6_157d886d9d30
  style bdbe4ee1_a3aa_3465_2185_d22145fdb3f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractEncoderTest.java lines 54–59

    public static ByteBuf[] smallData() {
        ByteBuf heap = Unpooled.wrappedBuffer(BYTES_SMALL);
        ByteBuf direct = Unpooled.directBuffer(BYTES_SMALL.length);
        direct.writeBytes(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/AbstractEncoderTest.java.
Where is smallData() defined?
smallData() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractEncoderTest.java at line 54.

Analyze Your Own Codebase

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

Try Supermodel Free