C# Class SevenZip.Compression.LZMA.Encoder

Inheritance: ICoder, ISetCoderProperties, IWriteCoderProperties
显示文件 Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Methods

Method Description
Code ( System inStream, System outStream, System.Int64 inSize, System.Int64 outSize, ICodeProgress progress ) : void
CodeOneBlock ( System.Int64 &inSize, System.Int64 &outSize, bool &finished ) : void
SetCoderProperties ( CoderPropID propIDs, object properties ) : void
SetTrainSize ( uint trainSize ) : void
WriteCoderProperties ( System outStream ) : void

Private Methods

Method Description
Backward ( UInt32 &backRes, UInt32 cur ) : UInt32
BaseInit ( ) : void
ChangePair ( UInt32 smallDist, UInt32 bigDist ) : bool
Create ( ) : void
Encoder ( ) : System
FillAlignPrices ( ) : void
FillDistancesPrices ( ) : void
FindMatchFinder ( string s ) : int
Flush ( UInt32 nowPos ) : void
GetOptimum ( UInt32 position, UInt32 &backRes ) : UInt32
GetPosLenPrice ( UInt32 pos, UInt32 len, UInt32 posState ) : UInt32
GetPosSlot ( UInt32 pos ) : UInt32
GetPosSlot2 ( UInt32 pos ) : UInt32
GetPureRepPrice ( UInt32 repIndex, Base state, UInt32 posState ) : UInt32
GetRepLen1Price ( Base state, UInt32 posState ) : UInt32
GetRepPrice ( UInt32 repIndex, UInt32 len, Base state, UInt32 posState ) : UInt32
Init ( ) : void
MovePos ( UInt32 num ) : void
ReadMatchDistances ( UInt32 &lenRes, UInt32 &numDistancePairs ) : void
ReleaseMFStream ( ) : void
ReleaseOutStream ( ) : void
ReleaseStreams ( ) : void
SetOutStream ( System outStream ) : void
SetStreams ( System inStream, System outStream, System.Int64 inSize, System.Int64 outSize ) : void
SetWriteEndMarkerMode ( bool writeEndMarker ) : void
WriteEndMarker ( UInt32 posState ) : void

Method Details

Code() public method

public Code ( System inStream, System outStream, System.Int64 inSize, System.Int64 outSize, ICodeProgress progress ) : void
inStream System
outStream System
inSize System.Int64
outSize System.Int64
progress ICodeProgress
return void

CodeOneBlock() public method

public CodeOneBlock ( System.Int64 &inSize, System.Int64 &outSize, bool &finished ) : void
inSize System.Int64
outSize System.Int64
finished bool
return void

SetCoderProperties() public method

public SetCoderProperties ( CoderPropID propIDs, object properties ) : void
propIDs CoderPropID
properties object
return void

SetTrainSize() public method

public SetTrainSize ( uint trainSize ) : void
trainSize uint
return void

WriteCoderProperties() public method

public WriteCoderProperties ( System outStream ) : void
outStream System
return void