Home / Function/ ZstdOptions() — netty Function Reference

ZstdOptions() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  fd67a70e_134e_82d7_85ca_b74f9625deac["ZstdOptions()"]
  c53ea870_fdd1_9e09_5e8d_6b14bb7fbab1["ZstdOptions"]
  fd67a70e_134e_82d7_85ca_b74f9625deac -->|defined in| c53ea870_fdd1_9e09_5e8d_6b14bb7fbab1
  style fd67a70e_134e_82d7_85ca_b74f9625deac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/ZstdOptions.java lines 54–63

    ZstdOptions(int compressionLevel, int blockSize, int maxEncodeSize) {
        if (!Zstd.isAvailable()) {
            throw new IllegalStateException("zstd-jni is not available", Zstd.cause());
        }

        this.compressionLevel = ObjectUtil.checkInRange(compressionLevel,
                MIN_COMPRESSION_LEVEL, MAX_COMPRESSION_LEVEL, "compressionLevel");
        this.blockSize = ObjectUtil.checkPositive(blockSize, "blockSize");
        this.maxEncodeSize = ObjectUtil.checkPositive(maxEncodeSize, "maxEncodeSize");
    }

Domain

Subdomains

Frequently Asked Questions

What does ZstdOptions() do?
ZstdOptions() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/ZstdOptions.java.
Where is ZstdOptions() defined?
ZstdOptions() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/ZstdOptions.java at line 54.

Analyze Your Own Codebase

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

Try Supermodel Free