flush_compressor_buffer | R Documentation |
This function flushes the internal buffer according to the specified mode.
flush_compressor_buffer(compressorPtr, mode = 4L)
compressorPtr |
A SEXP pointer to an existing compressor object. |
mode |
A compression flush mode. Default is Z_FINISH. Available modes are Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_BLOCK, and Z_FINISH. |
A raw vector containing the flushed output.
compressor <- create_compressor()
# ... (some compression actions)
flushed_data <- flush_compressor_buffer(compressor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.