Skip to content

Commit

Permalink
improved looking
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelBrinck authored Jul 31, 2020
1 parent f664d3f commit 61169cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 61169cd

Please sign in to comment.