-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Alexcei edited this page Mar 30, 2018
·
8 revisions
The library allows to extract files from the archive file of cpio format.
using (var stream = new CPIOFileStream("exampleBin.cpio"))
{
string destBinFolder = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
stream.Extract(destBinFolder);
}
Class CPIOFileStream
has a constructor that takes input file name. A method Extract
extracts data from input file to the destinition folder.