Home / Function/ testDecodeULE128IntOverflow1() — netty Function Reference

testDecodeULE128IntOverflow1() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 101–117

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free