src/sys/dotnet/fanx/fcode/FStore.cs
/// <summary>
/// Open an input stream for the specified logical path.
/// Return null if not found.
/// </summary>
Open an input stream for the specified logical path.
Return null if not found.
Open an input stream for the specified logical path . Return null if not found .
public FStore.Input read(string path, bool required)
    {
      ZipEntry entry = zipFile.GetEntry(path);
      if (entry == null)
      {
        if (required)
          throw new Exception("Missing required file \"" + path + "\" in pod zip");
        else
          return null;
      }
      return new FStore.Input(fpod, new BufferedStream(zipFile.GetInputStream(entry)));
    }
public FStore . Input read ( string path , bool required ) { ZipEntry entry = zipFile . GetEntry ( path ) ; if ( entry == null ) { if ( required ) throw new Exception ( " \" " + path + " \" " ) ; else return null ; } return new FStore . Input ( fpod , new BufferedStream ( zipFile . GetInputStream ( entry ) ) ) ; }
Open an input stream for the specified logical path.
Open an input stream for the specified logical path .
path
string
required
bool