&quot;file.txt.zst&quot;</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">writer</span><span class="ruby-operator">|</span> <span class="ruby-identifier">writer</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot;sample string&quot;</span> }
<span class="ruby-identifier">puts</span> <span class="ruby-constant">ZSTDS</span><span class="ruby-operator">::</span><span class="ruby-constant">Stream</span><span class="ruby-operator">::</span><span class="ru