decompress_chunk {zlib} | R Documentation |
Decompress a chunk of data
Description
Perform chunk-wise decompression on a given raw vector using a decompressor object.
Usage
decompress_chunk(decompressorPtr, input_chunk)
Arguments
decompressorPtr |
An external pointer to an initialized decompressor object. |
input_chunk |
A raw vector containing the compressed data chunk. |
Value
A raw vector containing the decompressed data.
Examples
rawToChar(decompress_chunk(create_decompressor(), memCompress(charToRaw("Hello, World"))))
[Package zlib version 1.0.3 Index]