Skip to content

Commit

Permalink
Merge pull request #4 from Shopify/readme_fix
Browse files Browse the repository at this point in the history
fix readme
  • Loading branch information
ianks authored Aug 29, 2024
2 parents de7c476 + 5876ac3 commit 1776d80
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 @@ -45,10 +45,10 @@ record the string's size and encoding.
require 'lz4_flex'

# Compress data
compressed = LZ4Flex.compress("Hello, World!")
compressed = Lz4Flex.compress("Hello, World!")

# Decompress data
decompressed = LZ4Flex.decompress(compressed)
decompressed = Lz4Flex.decompress(compressed)

puts decompressed # => "Hello, World!"
puts decompressed.encoding # => Encoding::UTF_8
Expand Down

0 comments on commit 1776d80

Please sign in to comment.