Skip to content
Alexcei edited this page Mar 30, 2018 · 8 revisions

Home

The library allows to extract files from the archive file of cpio format.

Example

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.

Clone this wiki locally