Sha256: 8f8c2b2a84c3d386f496c26c3ade1b2324aa5b729dc025ddf6f61feddc31f444

Contents?: true

Size: 202 Bytes

Versions: 4

Compression:

Stored size: 202 Bytes

Contents

require 'zlib'

module Bio::BGZF
    # Unpacks compressed data, NOT a BGZF block.
    def unpack(str)
        zs = Zlib::Inflate.new(-15)
        zs.inflate(str)
    end
    module_function :unpack
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bio-bgzf-0.2.1 lib/bio-bgzf/unpack.rb
bio-bgzf-0.2.0 lib/bio-bgzf/unpack.rb
bio-bgzf-0.1.1 lib/bio-bgzf/unpack.rb
bio-bgzf-0.1.0 lib/bio-bgzf/unpack.rb