Ejemplo n.º 1
0
 public static void Unpack(string infile, string outdir)
 {
     NARC.Unpack(infile).Extract(outdir);
 }
Ejemplo n.º 2
0
 public static NARC.DirectoryEntry Unpack(string infile)
 {
     return(NARC.Unpack(System.IO.File.ReadAllBytes(infile)));
 }
Ejemplo n.º 3
0
 public static void Pack(NARC.DirectoryEntry indir, string outfile)
 {
     System.IO.File.Create(outfile).Close();
     System.IO.File.WriteAllBytes(outfile, NARC.Pack(indir));
 }