Skip to content

Compress

compress inbound wraps an upstream inbound and decompresses the content of each entry after reading.

Archives compressed as a whole are decompressed by the Archive inbound itself; this wrapper is only for entries that were compressed individually.

The wrapper chain of an inbound must mirror the wrapper chain of the outbound that produced the data, in reverse order. For example, data written through compress → encrypt → archive must be read through archive → encrypt → compress.

Structure

{
  "type": "compress",
  "tag": "decompress-in",
  "algorithm": "gzip",
  "inbound": "decrypt-in"
}

Fields

algorithm

Required

The compression algorithm.

Algorithm Description
gzip DEFLATE with gzip framing
zstd Zstandard
lz4 LZ4

inbound

Required

The tag of the upstream inbound.