# File lib/cgikit.rb, line 4440 def new_with_io( io, offset = nil, count = nil ) io.pos = offset if offset bytes = new io.read(count) if io.respond_to? 'path' then bytes.path = io.path end bytes end