ByteBuf() — netty Function Reference
Architecture documentation for the ByteBuf() function in DefaultHttp2HeadersDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 75d5c982_9053_400f_519f_412565706f23["ByteBuf()"] bddf27d1_0dcd_a270_e076_3c8aa8b9b31f["DefaultHttp2HeadersDecoderTest"] 75d5c982_9053_400f_519f_412565706f23 -->|defined in| bddf27d1_0dcd_a270_e076_3c8aa8b9b31f style 75d5c982_9053_400f_519f_412565706f23 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java lines 298–307
private static ByteBuf encode(byte[]... entries) throws Exception {
HpackEncoder hpackEncoder = newTestEncoder();
ByteBuf out = Unpooled.buffer();
Http2Headers http2Headers = new DefaultHttp2Headers(false);
for (int ix = 0; ix < entries.length;) {
http2Headers.add(new AsciiString(entries[ix++], false), new AsciiString(entries[ix++], false));
}
hpackEncoder.encodeHeaders(3 /* randomly chosen */, out, http2Headers, NEVER_SENSITIVE);
return out;
}
Domain
Subdomains
Defined In
Source
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/DefaultHttp2HeadersDecoderTest.java.
Where is ByteBuf() defined?
ByteBuf() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java at line 298.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free