From 61169cd7a3086c23da1ad7cbbfce5111c9f78375 Mon Sep 17 00:00:00 2001 From: Axel Brinck Date: Fri, 31 Jul 2020 20:01:48 +0200 Subject: [PATCH] improved looking --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b17c2b4..48adc14 100644 --- a/readme.md +++ b/readme.md @@ -10,7 +10,7 @@ If you used the bzip compressor bundled in a Node.js environment, the resulting If there is a header in a deflated bzip stream, this header will occupy the first two bytes, then the actual compressed stream will start. -So this project provides the ability to perform the following thing: By seeking the start of the third byte we avoid the header and the Microsoft compression tool will be able to read it. +So this project provides the ability to perform the following thing: By seeking the start of the third byte we avoid the header and the **Microsoft compression tool will be able to read it**. To gain compatibility with the two types of compressed streams (but sharing the same algorithm, bzip). We will use a try-catch, trying to inflate the unmodified stream, and if it is not successful jumping to the first two bytes.