Sha256: cc46f86c44da0d9631f70abcd02537cc7c277d915b78dbafbdee8cdfac376cae
Contents?: true
Size: 367 Bytes
Versions: 17
Compression:
Stored size: 367 Bytes
Contents
module HTTPX module Transcoder class Inflater def initialize(bytesize) @bytesize = bytesize end def call(chunk) buffer = @inflater.inflate(chunk) @bytesize -= chunk.bytesize if @bytesize <= 0 buffer << @inflater.finish @inflater.close end buffer end end end end
Version data entries
17 entries across 17 versions & 1 rubygems