ZstdCDict.this

this(const(ubyte)[] dict, int level)

Creates a compressed dictionary for efficient repeated compression.

Parameters

dictThe dictionary content (samples, prefix, etc.).
levelThe compression level to optimize the dictionary for.

Throws

ZstdException if dictionary creation fails.