HELP: Read ZSTD compressed data TYPE: OBJECT SYNTAX: ZST(MEMBER='str',BUFSIZ=num,SKPORG)
The ZSTD converter can be used to compress or decompress data streams compatible with the ZSTD utility on UNIX systems.
The result of a compression is a binary block. The result of a decompression can be text, XML, a base encoding or binary data. Please use delimiters, length fields or fixed length data if records must be exchanged.
There is no header to store meta information about the data, so all metadata is lost.
The compression level can be set to values from 1 to 22, where FAST (1) gives the fastest compression, AUTO (9) provides a balanced default and BEST (19) the maximum compression ratio that is still cheap to read. The levels above 19 compress no better in our measurements but raise the window from 8 MiB to up to 128 MiB, which the decompressor has to provide as well; they remain available as LEV20, LEV21 and LEV22.
If no compression level is defined and the data is marked as being without redundancy, then FAST (level 1) is used. In all other cases the default level AUTO (level 9) is used.
Decompression of concatenated ZSTD files is also possible. All concatenated files are decompressed into one file. It is also possible to decompress one specific member of this concatenation by specifying the member index of the file to be decompressed:
filename/:memberindex filename/#memberindex test.zst/#3 test.zst/:2
ZSTD data streams are written to ZIP archives as compression mode 93 (ZSTD). The ZSTD header and trailer are replaced by a ZIP local file header. If an ZSTD file (compression mode 93) is read from a ZIP archive, it is converted to an ZSTD data stream which can be decompressed with this component.
STRING: MEMBER='str' - Index of the member in the ZSTD file to readNUMBER: BUFSIZ=num - Initial buffer size for preallocation [65536]SWITCH: SKPORG - Skip decompression if original was copied [FALSE]