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-1.6 examples/core/zlib_stream.rb
polyphony-1.5 examples/core/zlib_stream.rb
polyphony-1.4 examples/core/zlib_stream.rb
polyphony-1.3 examples/core/zlib_stream.rb
polyphony-1.2.1 examples/core/zlib_stream.rb
polyphony-1.2 examples/core/zlib_stream.rb
polyphony-1.1.1 examples/core/zlib_stream.rb
polyphony-1.1 examples/core/zlib_stream.rb
polyphony-1.0.2 examples/core/zlib_stream.rb
polyphony-1.0.1 examples/core/zlib_stream.rb
polyphony-1.0 examples/core/zlib_stream.rb
polyphony-0.99.6 examples/core/zlib_stream.rb
polyphony-0.99.5 examples/core/zlib_stream.rb
polyphony-0.99.4 examples/core/zlib_stream.rb
polyphony-0.99.3 examples/core/zlib_stream.rb
polyphony-0.99.2 examples/core/zlib_stream.rb
polyphony-0.99.1 examples/core/zlib_stream.rb
polyphony-0.99 examples/core/zlib_stream.rb
polyphony-0.98 examples/core/zlib_stream.rb
polyphony-0.97 examples/core/zlib_stream.rb