Home / Function/ testCompressedDataBeforeStreamIdentifier() — netty Function Reference

testCompressedDataBeforeStreamIdentifier() — netty Function Reference

Architecture documentation for the testCompressedDataBeforeStreamIdentifier() function in SnappyFrameDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9bea34ae_f9f3_76aa_3599_b160a399d719["testCompressedDataBeforeStreamIdentifier()"]
  8017c2dc_c3bf_3f79_0edd_8dd86487179d["SnappyFrameDecoderTest"]
  9bea34ae_f9f3_76aa_3599_b160a399d719 -->|defined in| 8017c2dc_c3bf_3f79_0edd_8dd86487179d
  style 9bea34ae_f9f3_76aa_3599_b160a399d719 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyFrameDecoderTest.java lines 115–127

    @Test
    public void testCompressedDataBeforeStreamIdentifier() {
        final ByteBuf in = Unpooled.wrappedBuffer(new byte[] {
            0x00, 0x05, 0x00, 0x00, 'n', 'e', 't', 't', 'y'
        });

        assertThrows(DecompressionException.class, new Executable() {
            @Override
            public void execute() {
                channel.writeInbound(in);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testCompressedDataBeforeStreamIdentifier() do?
testCompressedDataBeforeStreamIdentifier() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyFrameDecoderTest.java.
Where is testCompressedDataBeforeStreamIdentifier() defined?
testCompressedDataBeforeStreamIdentifier() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyFrameDecoderTest.java at line 115.

Analyze Your Own Codebase

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

Try Supermodel Free