We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8808979 commit af68196Copy full SHA for af68196
README.md
@@ -136,7 +136,7 @@ Zstd.read_skippable_frame(compressed_data_with_skippable_frame)
136
137
#### Zstd::StreamWriter
138
139
-```
+```ruby
140
require 'stringio'
141
require 'zstd-ruby'
142
@@ -152,7 +152,7 @@ compressed_data = io.read
152
153
#### Zstd::StreamReader
154
155
156
157
require 'zstd-ruby' # Add the appropriate require statement if necessary
158
@@ -162,7 +162,7 @@ reader = Zstd::StreamReader.new(io)
162
# Read and output the decompressed data
163
puts reader.read(10) # 'abc'
164
puts reader.read(10) # 'def'
165
-puts reader.read(10) # '' (end of data)
+puts reader.read(10) # '' (end of data)
166
```
167
168
0 commit comments