# File lib/cgikit/resource.rb, line 16
    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