testDecodeULE128LongOverflow2() — netty Function Reference
Architecture documentation for the testDecodeULE128LongOverflow2() function in HpackDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a6d96ef3_1db7_072f_f731_ad008fac0d91["testDecodeULE128LongOverflow2()"] 499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"] a6d96ef3_1db7_072f_f731_ad008fac0d91 -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43 style a6d96ef3_1db7_072f_f731_ad008fac0d91 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 168–185
@Test
public void testDecodeULE128LongOverflow2() throws Http2Exception {
byte[] input = {(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
(byte) 0xFF, (byte) 0x7F};
final ByteBuf in = Unpooled.wrappedBuffer(input);
final int readerIndex = in.readerIndex();
try {
assertThrows(Http2Exception.class, new Executable() {
@Override
public void execute() throws Throwable {
decodeULE128(in, 1L);
}
});
} finally {
assertEquals(readerIndex, in.readerIndex());
in.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDecodeULE128LongOverflow2() do?
testDecodeULE128LongOverflow2() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java.
Where is testDecodeULE128LongOverflow2() defined?
testDecodeULE128LongOverflow2() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java at line 168.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free