vendor/bundle/ruby/2.5.0/gems/yajl-ruby-1.2.3/lib/yajl/deflate/stream_reader.rb
# A helper method to allow use similar to IO#read
A helper method to allow use similar to IO#read
A helper method to allow use similar to IO#read
def read(len=nil, buffer=nil)
        if val = @io.read(len)
          unless buffer.nil?
            buffer.replace(inflate(val))
            return buffer
          end
          inflate(@io.read(len))
        else
          nil
        end
      end
def read ( len = nil , buffer = nil ) if val = @io . read ( len ) unless buffer . nil? buffer . replace ( inflate ( val ) ) return buffer end inflate ( @io . read ( len ) ) else nil end end
A helper method to allow use similar to IO#read
A helper method to allow use similar to IO#read
len
<not_specific>
buffer
<not_specific>