C# Class KFreonLib.PCCObjects.PCCHandler

Class used to Compress/Decompress pcc files.
Exibir arquivo Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Methods

Method Description
Compress ( Stream uncompressedPcc ) : Stream

compress an entire pcc into a byte array.

Compress ( byte uncompressedPcc ) : byte[]

compress an entire pcc into a byte array.

CompressAndSave ( Stream uncompressedPcc, string pccFileName ) : void

compress an entire pcc into a file.

CompressAndSave ( byte uncompressedPcc, string pccFileName ) : void
Decompress ( Stream input ) : byte[]

decompress an entire pcc file.

Decompress ( byte rawData ) : byte[]

decompress an entire pcc file.

Decompress ( string pccFileName ) : byte[]

decompress an entire pcc file.

Method Details

Compress() public static method

compress an entire pcc into a byte array.
public static Compress ( Stream uncompressedPcc ) : Stream
uncompressedPcc Stream uncompressed pcc stream.
return Stream

Compress() public static method

compress an entire pcc into a byte array.
public static Compress ( byte uncompressedPcc ) : byte[]
uncompressedPcc byte uncompressed pcc file stored in a byte array.
return byte[]

CompressAndSave() public static method

compress an entire pcc into a file.
public static CompressAndSave ( Stream uncompressedPcc, string pccFileName ) : void
uncompressedPcc Stream uncompressed pcc stream.
pccFileName string pcc file name to save.
return void

CompressAndSave() public static method

public static CompressAndSave ( byte uncompressedPcc, string pccFileName ) : void
uncompressedPcc byte
pccFileName string
return void

Decompress() public static method

decompress an entire pcc file.
public static Decompress ( Stream input ) : byte[]
input Stream pcc file passed in stream format
return byte[]

Decompress() public static method

decompress an entire pcc file.
public static Decompress ( byte rawData ) : byte[]
rawData byte pcc file passed in byte array format.
return byte[]

Decompress() public static method

decompress an entire pcc file.
public static Decompress ( string pccFileName ) : byte[]
pccFileName string pcc file's name to open.
return byte[]