Home / Function/ testDecodeULE128IntOverflow2() — netty Function Reference

testDecodeULE128IntOverflow2() — netty Function Reference

Architecture documentation for the testDecodeULE128IntOverflow2() function in HpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d713fbb7_e4e6_ab93_33b5_bf3cf1078f25["testDecodeULE128IntOverflow2()"]
  499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"]
  d713fbb7_e4e6_ab93_33b5_bf3cf1078f25 -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43
  style d713fbb7_e4e6_ab93_33b5_bf3cf1078f25 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 119–135

    @Test
    public void testDecodeULE128IntOverflow2() throws Http2Exception {
        byte[] input = {(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x08};
        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, 0);
                }
            });
        } finally {
            assertEquals(readerIndex, in.readerIndex());
            in.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free