Sha256: 9d7947ecc3847cbf7bdc153b23120a67a8f5f82f61bf62793669bd1ca869594c

Contents?: true

Size: 222 Bytes

Versions: 36

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'
require 'zlib'

r, w = IO.pipe
writer = Zlib::GzipWriter.new(w)

writer << 'chunk'
writer.flush
p pos: writer.pos
# w.close
writer.close

p r.read

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
polyphony-0.96 examples/core/zlib_stream.rb
polyphony-0.95 examples/core/zlib_stream.rb
polyphony-0.94 examples/core/zlib_stream.rb
polyphony-0.93 examples/core/zlib_stream.rb
polyphony-0.92 examples/core/zlib_stream.rb
polyphony-0.91 examples/core/zlib_stream.rb
polyphony-0.90 examples/core/zlib_stream.rb
polyphony-0.89 examples/core/zlib_stream.rb
polyphony-0.87 examples/core/zlib_stream.rb
polyphony-0.86 examples/core/zlib_stream.rb
polyphony-0.85 examples/core/zlib_stream.rb
polyphony-0.84.1 examples/core/zlib_stream.rb
polyphony-0.84 examples/core/zlib_stream.rb
polyphony-0.83 examples/core/zlib_stream.rb
polyphony-0.82 examples/core/zlib_stream.rb
polyphony-0.81.1 examples/core/zlib_stream.rb