Data
extension Data
-
Compress the output of
providerand pass it toconsumer.Declaration
Parameters
sizeThe uncompressed size of the data to be compressed.
bufferSizeThe maximum size of the compression buffer.
providerA closure that accepts a position and a chunk size. Returns a
Datachunk.consumerA closure that processes the result of the compress operation.
Return Value
The checksum of the processed content.
-
Decompress the output of
providerand pass it toconsumer.Declaration
Parameters
sizeThe compressed size of the data to be decompressed.
bufferSizeThe maximum size of the decompression buffer.
skipCRC32Optional flag to skip calculation of the CRC32 checksum to improve performance.
providerA closure that accepts a position and a chunk size. Returns a
Datachunk.consumerA closure that processes the result of the decompress operation.
Return Value
The checksum of the processed content.
Data Extension Reference