Home / Function/ smallData() — netty Function Reference

smallData() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b8ba4a04_d7c9_db83_1cf6_6a061f853629["smallData()"]
  25e203a2_01b9_37bc_50d7_94995af16578["AbstractDecoderTest"]
  b8ba4a04_d7c9_db83_1cf6_6a061f853629 -->|defined in| 25e203a2_01b9_37bc_50d7_94995af16578
  style b8ba4a04_d7c9_db83_1cf6_6a061f853629 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractDecoderTest.java lines 69–74

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

Analyze Your Own Codebase

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

Try Supermodel Free