Gzip

The gzip key-value store adapter provides transparent access to gzip-encoded files.

URL syntax

  • base-kvstore-url|gzip:

The base-kvstore-url must refer to a file, and typically ends with .gz.

For example:

  • gs://bucket/path/to/image.nii.gz|gzip:

Capabilities

Supported capabilities

Byte range reads

Only prefix (byte offset of 0) byte range requests supported, if supported by the base key-value store.

Key listing

Not applicable.

Required capabilities of base key-value store

Byte range reads

Prefix (byte offset of 0) byte range requests optional.

Key listing

Not needed.

Auto detection

Gzip-encoded files are detected automatically based on a signature at the start of the file.