Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SpringMT authored Jun 23, 2022
1 parent dc2aff0 commit ede3d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ compressed_data = Zstd.compress(data, complession_level) # default compression_l
### Compression using Dictionary
```ruby
# dictionary is supposed to have been created using `zstd --train`
compressed_using_dict = Zstd.compress_using_dict("", dictionary)
compressed_using_dict = Zstd.compress_using_dict("", IO.read('dictionary_file'))
```

### Streaming Compression
Expand Down Expand Up @@ -75,7 +75,7 @@ data = Zstd.decompress(compressed_data)
### Decomporession using Dictionary
```ruby
# dictionary is supposed to have been created using `zstd --train`
Zstd.decompress_using_dict(compressed_using_dict, dictionary)
Zstd.decompress_using_dict(compressed_using_dict, IO.read('dictionary_file'))
```

### Streaming Decompression
Expand Down

0 comments on commit ede3d03

Please sign in to comment.