Skip to content

Request: Generic Decompressor for all algos based on magic number header #202

@gabrieljones

Description

@gabrieljones

A decompressor that can detect and handle any of the supported algorithms.

Algo Magic Number Source
ZStd 28 b5 2f fd https://en.wikipedia.org/wiki/Zstd
LZ4 04 22 4d 18 https://en.wikipedia.org/wiki/LZ4_(compression_algorithm)
Snappy ff 06 00 00 73 4e 61 50 70 59 https://en.wikipedia.org/wiki/Snappy_(compression)
LZO ??? https://github.com/mirror/lzop/blob/master/doc/magic
GZIP 1f 8b https://en.wikipedia.org/wiki/Gzip
Deflate ??? https://en.wikipedia.org/wiki/Deflate
BZip2 BZh https://en.wikipedia.org/wiki/Bzip2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions