Skip to content

Commit

Permalink
refactor: added DotFastLZ.Compression.Packaging usage in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Oct 12, 2023
1 parent eb002d4 commit 305edff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ for (int level = 1; level <= 2; ++level)
}
```

## Usage: DotFastLZ.Compression.Packaging ##
```csharp
const string targetFileName = "soruce.txt";
string packagingFileName = targetFileName + ".fastlz";

// pack/unpack
SixPack.PackFile(2, targetFileName, packagingFileName, Console.Write);
SixPack.UnpackFile(packagingFileName, Console.Write);
```

## Usage: DotFastLZ.Packaging.Tools ##
```shell
$ 6pack --help
Expand Down

0 comments on commit 305edff

Please sign in to comment.