</span> <span class="ruby-constant">IO</span><span class="ruby-operator">::</span><span class="ruby-constant">WaitWritable</span>
  <span class="ruby-comment"># handle wait</span>
<span class="ruby-keyword">ensure</span>
  <span class="ruby-identifier">writer</span>.<span class="ruby-identifier">close</span>
<span class="ruby-keyword">end</span>

<span class="ruby-identifier">reader</span> = <span class="ruby-constant">ZSTDS</span><span class="ruby-operator">::</span><span class="ruby-constant">Stream</span