Home / Function/ ByteBuf() — netty Function Reference

ByteBuf() — netty Function Reference

Architecture documentation for the ByteBuf() function in Http2FrameRoundtripTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e2f7ccc4_5db3_eb0a_98a2_bbe4f6887f63["ByteBuf()"]
  900e14d5_99d5_0a22_aeb4_72af4ffe3fca["Http2FrameRoundtripTest"]
  e2f7ccc4_5db3_eb0a_98a2_bbe4f6887f63 -->|defined in| 900e14d5_99d5_0a22_aeb4_72af4ffe3fca
  style e2f7ccc4_5db3_eb0a_98a2_bbe4f6887f63 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameRoundtripTest.java lines 429–437

    private static ByteBuf data(int size) {
        byte[] data = new byte[size];
        for (int ix = 0; ix < data.length;) {
            int length = min(MESSAGE.length, data.length - ix);
            System.arraycopy(MESSAGE, 0, data, ix, length);
            ix += length;
        }
        return buf(data);
    }

Domain

Subdomains

Frequently Asked Questions

What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameRoundtripTest.java.
Where is ByteBuf() defined?
ByteBuf() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameRoundtripTest.java at line 429.

Analyze Your Own Codebase

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

Try Supermodel Free