code: public static ReadStreamOld openRead(InputStream is)
    {
      if (is instanceof ReadStreamOld)
        return (ReadStreamOld) is;
      
      VfsStreamOld s = new VfsStreamOld(is, null);
      return new ReadStreamOld(s);
    }
docs: Creates new ReadStream from an InputStream