compress

Functions for in-memory compression using several different algorithms.

Summary
compressFunctions for in-memory compression using several different algorithms.
Functions
gzipCompress an input buffer using the gzip algorithm, returning the compressed data as Bytes.
gunzipDecompress input bytes using the gunzip algorithm, returning the uncompressed data as a Bytes.
bzip2Compress an input buffer using the bzip2 algorithm, returning the compressed data as Bytes.
bunzip2Decompress input bytes using the bunzip2 algorithm, returning the uncompressed data as a Bytes.
lzmaCompress an input buffer using the lzma algorithm, returning the compressed data as Bytes.
unlzmaDecompress input bytes usingi the unlzma algorithm, returning the uncompressed data as a Bytes.

Functions

gzip

DECLARE EXTENSION FUNCTION gzip(data: Bytes): Bytes

Compress an input buffer using the gzip algorithm, returning the compressed data as Bytes.

gunzip

DECLARE EXTENSION FUNCTION gunzip(data: Bytes): Bytes

Decompress input bytes using the gunzip algorithm, returning the uncompressed data as a Bytes.

bzip2

DECLARE EXTENSION FUNCTION bzip2(data: Bytes): Bytes

Compress an input buffer using the bzip2 algorithm, returning the compressed data as Bytes.

bunzip2

DECLARE EXTENSION FUNCTION bunzip2(data: Bytes): Bytes

Decompress input bytes using the bunzip2 algorithm, returning the uncompressed data as a Bytes.

lzma

DECLARE EXTENSION FUNCTION lzma(data: Bytes): Bytes

Compress an input buffer using the lzma algorithm, returning the compressed data as Bytes.

unlzma

DECLARE EXTENSION FUNCTION unlzma(data: Bytes): Bytes

Decompress input bytes usingi the unlzma algorithm, returning the uncompressed data as a Bytes.

DECLARE EXTENSION FUNCTION gzip(data: Bytes): Bytes
Compress an input buffer using the gzip algorithm, returning the compressed data as Bytes.
Bytes.
DECLARE EXTENSION FUNCTION gunzip(data: Bytes): Bytes
Decompress input bytes using the gunzip algorithm, returning the uncompressed data as a Bytes.
DECLARE EXTENSION FUNCTION bzip2(data: Bytes): Bytes
Compress an input buffer using the bzip2 algorithm, returning the compressed data as Bytes.
DECLARE EXTENSION FUNCTION bunzip2(data: Bytes): Bytes
Decompress input bytes using the bunzip2 algorithm, returning the uncompressed data as a Bytes.
DECLARE EXTENSION FUNCTION lzma(data: Bytes): Bytes
Compress an input buffer using the lzma algorithm, returning the compressed data as Bytes.
DECLARE EXTENSION FUNCTION unlzma(data: Bytes): Bytes
Decompress input bytes usingi the unlzma algorithm, returning the uncompressed data as a Bytes.
Close