ZstdCompressor instance.ZstdCompressor.create
ZstdCompressor create(int level = ZSTD_CLEVEL_DEFAULT)Creates a new ZstdCompressor with the specified compression level.
Parameters
level | Compression level (default: ZSTD_CLEVEL_DEFAULT). |
Returns
A new
Throws
ZstdException if context creation fails.