flush_decompressor_buffer | R Documentation |
This function processes all pending input and returns the remaining uncompressed output. The function uses the provided initial buffer size and dynamically expands it as necessary to ensure all remaining data is decompressed. After calling this function, the decompress_chunk() method cannot be called again on the same object.
flush_decompressor_buffer(decompressorPtr, length = 256L)
decompressorPtr |
A SEXP pointer to an existing decompressor object. |
length |
An optional parameter that sets the initial size of the output buffer. Default is 256. |
A raw vector containing the remaining uncompressed output.
decompressor <- create_decompressor()
# ... (some decompression actions)
flushed_data <- flush_decompressor_buffer(decompressor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.