Back to 7 Zip Zstd

Multithreading Library for [Brotli], [Lizard], [LZ4], [LZ5] and [Zstandard]

C/zstdmt/README.md

25.01-v1.5.7-R41.5 KB
Original Source

Multithreading Library for Brotli, Lizard, LZ4, LZ5 and Zstandard

Description

  • works with skippables frame id 0x184D2A50 (12 bytes per compressed frame)
  • brotli is supported the same way, it will encapsulate the real brotli stream within an 16 byte frame header

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

  • the frame header for brotli is defined a bit different:
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)

Usage of the Testutils

Usage of the Library

/TR 2017-05-24