diff --git a/README.md b/README.md index e48bc08..b2ecbcc 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ # GisDeflate - GDeflate decompression in C# with zero native dependencies. ## Install +`nuget install GisDeflate` +## Usage +```cs +byte[] compressed = File.ReadAllBytes("foo.bin"); +byte[] decompressed = GDeflate.Decompress(compressed); +``` ## Credits Naturally, this code is a port of the reference implementation by [Microsoft](https://github.com/microsoft/DirectStorage/tree/main/GDeflate) -and [NVIDIA](https://github.com/NVIDIA/libdeflate/tree/3bb5c6924b32a91e6e6a8f54ba00a21f037a8db5). \ No newline at end of file +and [NVIDIA](https://github.com/NVIDIA/libdeflate/tree/3bb5c6924b32a91e6e6a8f54ba00a21f037a8db5).