| 1 |
"""Implementation module for Zstandard compression.""" |
| 2 |
|
| 3 |
# if present, the C extension takes precedence over this file during import |
| 4 |
|
| 5 |
from backports.zstd._cffi import ( |
| 6 |
ZSTD_CLEVEL_DEFAULT, |
| 7 |
ZSTD_btlazy2, |
| 8 |
ZSTD_btopt, |
| 9 |
ZSTD_btultra, |
| 10 |
ZSTD_btultra2, |
| 11 |
ZSTD_c_chainLog, |
| 12 |
ZSTD_c_checksumFlag, |
| 13 |
ZSTD_c_compressionLevel, |
| 14 |
ZSTD_c_contentSizeFlag, |
| 15 |
ZSTD_c_dictIDFlag, |
| 16 |
ZSTD_c_enableLongDistanceMatching, |
| 17 |
ZSTD_c_hashLog, |
| 18 |
ZSTD_c_jobSize, |
| 19 |
ZSTD_c_ldmBucketSizeLog, |
| 20 |
ZSTD_c_ldmHashLog, |
| 21 |
ZSTD_c_ldmHashRateLog, |
| 22 |
ZSTD_c_ldmMinMatch, |
| 23 |
ZSTD_c_minMatch, |
| 24 |
ZSTD_c_nbWorkers, |
| 25 |
ZSTD_c_overlapLog, |
| 26 |
ZSTD_c_searchLog, |
| 27 |
ZSTD_c_strategy, |
| 28 |
ZSTD_c_targetLength, |
| 29 |
ZSTD_c_windowLog, |
| 30 |
ZSTD_d_windowLogMax, |
| 31 |
ZSTD_dfast, |
| 32 |
ZSTD_DStreamOutSize, |
| 33 |
ZSTD_fast, |
| 34 |
ZSTD_greedy, |
| 35 |
ZSTD_lazy, |
| 36 |
ZSTD_lazy2, |
| 37 |
ZstdCompressor, |
| 38 |
ZstdDecompressor, |
| 39 |
ZstdDict, |
| 40 |
ZstdError, |
| 41 |
finalize_dict, |
| 42 |
get_frame_info, |
| 43 |
get_frame_size, |
| 44 |
get_param_bounds, |
| 45 |
set_parameter_types, |
| 46 |
train_dict, |
| 47 |
zstd_version, |
| 48 |
zstd_version_number, |
| 49 |
) |