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