Home / Function/ Lz4FrameEncoder() — netty Function Reference

Lz4FrameEncoder() — netty Function Reference

Architecture documentation for the Lz4FrameEncoder() function in Lz4FrameEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6111e409_d85d_a017_6935_7ac7b5d5a337["Lz4FrameEncoder()"]
  16452743_407c_c5f6_ee9f_baa8b84020f0["Lz4FrameEncoderTest"]
  6111e409_d85d_a017_6935_7ac7b5d5a337 -->|defined in| 16452743_407c_c5f6_ee9f_baa8b84020f0
  b40abe87_4a28_e9da_fe39_82d9b1130383["EmbeddedChannel()"]
  b40abe87_4a28_e9da_fe39_82d9b1130383 -->|calls| 6111e409_d85d_a017_6935_7ac7b5d5a337
  41d698aa_a735_854e_8f80_b01f96ea35b4["testFlush()"]
  41d698aa_a735_854e_8f80_b01f96ea35b4 -->|calls| 6111e409_d85d_a017_6935_7ac7b5d5a337
  1ffe5b69_82b0_1fff_8694_98cfb8688d7e["writingAfterClosedChannelDoesNotNPE()"]
  1ffe5b69_82b0_1fff_8694_98cfb8688d7e -->|calls| 6111e409_d85d_a017_6935_7ac7b5d5a337
  style 6111e409_d85d_a017_6935_7ac7b5d5a337 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameEncoderTest.java lines 170–178

    private Lz4FrameEncoder newEncoder(int blockSize, int maxEncodeSize) {
        Checksum checksum = XXHashFactory.fastestInstance().newStreamingHash32(DEFAULT_SEED).asChecksum();
        Lz4FrameEncoder encoder = new Lz4FrameEncoder(LZ4Factory.fastestInstance(), true,
                                                      blockSize,
                                                      checksum,
                                                      maxEncodeSize);
        encoder.handlerAdded(ctx);
        return encoder;
    }

Domain

Subdomains

Frequently Asked Questions

What does Lz4FrameEncoder() do?
Lz4FrameEncoder() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameEncoderTest.java.
Where is Lz4FrameEncoder() defined?
Lz4FrameEncoder() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameEncoderTest.java at line 170.
What calls Lz4FrameEncoder()?
Lz4FrameEncoder() is called by 3 function(s): EmbeddedChannel, testFlush, writingAfterClosedChannelDoesNotNPE.

Analyze Your Own Codebase

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

Try Supermodel Free