public void TestNewASCIIFormat()
        {
            using (var stream = new CPIOFileStream("example.cpio"))
            {
                string destBinFolder = Path.Combine(_destFolder, Path.GetRandomFileName());
                stream.Extract(destBinFolder);
                CheckNewASCIIFormatFiles(destBinFolder);

            }
        }
Example #2
0
 private static void Main(string[] args)
 {
     using (CPIOLibSharp.CPIOFileStream sr = new CPIOLibSharp.CPIOFileStream("exampleCrc.cpio"))
     {
         sr.Extract(@"F:\", new CPIOLibSharp.ExtractFlags[]
         {
            ExtractFlags.ARCHIVE_EXTRACT_TIME
         });
     }
 }