C# Class IPod.Firmware.CpioArchive

Inheritance: IEnumerable
Show file Open project: mono/ipod-sharp Class Usage Examples

Public Methods

Method Description
CpioArchive ( Stream cpioStream ) : System
CpioArchive ( string cpioFile ) : System
ExtractEntry ( CpioFileEntry entry, Stream outStream ) : void
ExtractEntry ( CpioFileEntry entry, string outFile ) : void
GetEnumerator ( ) : IEnumerator

Private Methods

Method Description
FromOctal ( string number ) : int
ReadCpioEntries ( ) : void
ReadFileEntry ( ) : CpioFileEntry
ReadFileEntryFieldInt ( ) : int
ReadFileEntryFieldShort ( ) : short

Method Details

CpioArchive() public method

public CpioArchive ( Stream cpioStream ) : System
cpioStream Stream
return System

CpioArchive() public method

public CpioArchive ( string cpioFile ) : System
cpioFile string
return System

ExtractEntry() public method

public ExtractEntry ( CpioFileEntry entry, Stream outStream ) : void
entry CpioFileEntry
outStream Stream
return void

ExtractEntry() public method

public ExtractEntry ( CpioFileEntry entry, string outFile ) : void
entry CpioFileEntry
outFile string
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator