Skip to content

Commit 7564c7a

Browse files
committed
Documentation for Qt's qCompress() and qUncompress()
1 parent ed9996b commit 7564c7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ This format is commonly used in a streaming context:
9292
* PHP: `gzcompress()` and `gzuncompress()`
9393
* [HTTP compression](https://en.wikipedia.org/wiki/HTTP_compression) with `Content-Encoding: deflate` header
9494
* Java: `DeflaterOutputStream`
95+
* Qt's [`qCompress()`](http://doc.qt.io/qt-4.8/qbytearray.html#qCompress)
96+
and [`qUncompress()`](http://doc.qt.io/qt-4.8/qbytearray.html#qUncompress)
97+
uses the ZLIB format prefixed with the uncompressed length (as `UINT32BE`).
9598

9699
Technically, this format uses [raw DEFLATE compression](#raw-deflate-format) wrapped in a ZLIB header and footer:
97100

0 commit comments

Comments
 (0)