Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Xie committed May 23, 2021
1 parent 7d4db85 commit d6162e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ For compression provider sample, please check the Brotli.CompressionProvider.Sam
### Compress

```C#
using Brotli;

//the first parameter controls the quality(0-11)
var compressedData=inputBytes.CompressToBrotli(5,22);
//or
Expand Down

0 comments on commit d6162e4

Please sign in to comment.