Class Encoder
The LZMA encoder class
Implements
Inherited Members
Namespace: SharpSevenZip.Sdk.Compression.Lzma
Assembly: SharpSevenZip.dll
Syntax
public class Encoder : ICoder
Constructors
| Edit this page View SourceEncoder()
Initializes a new instance of the Encoder class
Declaration
public Encoder()
Methods
| Edit this page View SourceCode(Stream, Stream, long, long, ICodeProgress?)
Codes the specified stream
Declaration
public void Code(Stream inStream, Stream outStream, long inSize, long outSize, ICodeProgress? progress)
Parameters
Type | Name | Description |
---|---|---|
Stream | inStream | The input stream |
Stream | outStream | The output stream |
long | inSize | The input size |
long | outSize | The output size |
ICodeProgress | progress | The progress callback |
SetCoderProperties(CoderPropId[], object[])
Sets the coder properties
Declaration
public void SetCoderProperties(CoderPropId[] propIDs, object[] properties)
Parameters
Type | Name | Description |
---|---|---|
CoderPropId[] | propIDs | The property identificators |
object[] | properties | The array of properties |
WriteCoderProperties(Stream)
Writes the coder properties
Declaration
public void WriteCoderProperties(Stream outStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | outStream | The output stream to write the properties to. |