    # File lib/yajl/deflate/stream_reader.rb, line 29
          def self.parse(input, options={}, buffer_size=nil, &block)
            if input.is_a?(String)
              input = StringIO.new(input)
            end

            if options.is_a?(Hash)
              deflate_options = options.delete(:deflate_options)
              Yajl::Parser.new(options).parse(new(input, deflate_options), buffer_size, &block)
            elsif options.is_a?(Fixnum)
              Yajl::Parser.new.parse(new(input, options), buffer_size, &block)
            end
          end