Home

Awesome

Multithreading Library for Brotli, Lizard, LZ4, LZ5, Snappy-c, LZFSE and Zstandard

Description

Generic skippable frame definition

sizevaluedescription
4 bytes0x184D2A50Umagic for skippable frame
4 bytes4size of skippable frame
4 bytescompressed sizesize of the following frame (compressed data)

Brotli frame definition

sizevaluedescription
4 bytes0x184D2A50Umagic for skippable frame (like zstd)
4 bytes8size of skippable frame
4 bytescompressed sizesize of the following frame (compressed data)
2 bytes0x5242Umagic for brotli "BR"
2 bytesuncompressed sizeallocation hint for decompressor (64KB * this size)

Snappy-c frame definition

sizevaluedescription
4 bytes0x184D2A50Umagic for skippable frame (like zstd)
4 bytes8size of skippable frame
4 bytescompressed sizesize of the following frame (compressed data)
2 bytes0x5053Umagic for Snappy-c "SP"
2 bytesuncompressed sizeallocation hint for decompressor (64KB * this size)

LZFSE frame definition

sizevaluedescription
4 bytes0x184D2A50Umagic for skippable frame (like zstd)
4 bytes8size of skippable frame
4 bytescompressed sizesize of the following frame (compressed data)
2 bytes0x464CUmagic for Lzfse "LF"
2 bytesuncompressed sizeallocation hint for decompressor (64KB * this size)

Usage of the Testutils

Usage of the Library

/TR 2020-10-15