zlib_constants | R Documentation |
This function returns a list of constants from the zlib C library.
zlib_constants()
The constants are defined as follows:
DEFLATED
: The compression method, set to 8.
DEF_BUF_SIZE
: The default buffer size, set to 16384.
DEF_MEM_LEVEL
: Default memory level, set to 8.
MAX_WBITS
: Maximum size of the history buffer, set to 15.
Z_BEST_COMPRESSION
: Best compression level, set to 9.
Z_BEST_SPEED
: Best speed for compression, set to 1.
Z_BLOCK
: Block compression mode, set to 5.
Z_DEFAULT_COMPRESSION
: Default compression level, set to -1.
Z_DEFAULT_STRATEGY
: Default compression strategy, set to 0.
Z_FILTERED
: Filtered compression mode, set to 1.
Z_FINISH
: Finish compression mode, set to 4.
Z_FULL_FLUSH
: Full flush mode, set to 3.
Z_HUFFMAN_ONLY
: Huffman-only compression mode, set to 2.
Z_NO_COMPRESSION
: No compression, set to 0.
Z_NO_FLUSH
: No flush mode, set to 0.
Z_PARTIAL_FLUSH
: Partial flush mode, set to 1.
Z_RLE
: Run-length encoding compression mode, set to 3.
Z_SYNC_FLUSH
: Synchronized flush mode, set to 2.
Z_TREES
: Tree block compression mode, set to 6.
A named list of zlib constants.
constants <- zlib_constants()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.