Class Encoder
Inheritance
System.Object
Encoder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SevenZip.Compression.LZMA
Assembly: Liminal.SDK.dll
Syntax
public class Encoder : ICoder, ISetCoderProperties, IWriteCoderProperties
Constructors
| Improve this Doc View SourceEncoder()
Declaration
public Encoder()
Methods
| Improve this Doc View SourceCode(Stream, Stream, Int64, Int64, ICodeProgress)
Declaration
public void Code(Stream inStream, Stream outStream, long inSize, long outSize, ICodeProgress progress)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | inStream | |
System.IO.Stream | outStream | |
System.Int64 | inSize | |
System.Int64 | outSize | |
ICodeProgress | progress |
CodeOneBlock(out Int64, out Int64, out Boolean)
Declaration
public void CodeOneBlock(out long inSize, out long outSize, out bool finished)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | inSize | |
System.Int64 | outSize | |
System.Boolean | finished |
SetCoderProperties(CoderPropID[], Object[])
Declaration
public void SetCoderProperties(CoderPropID[] propIDs, object[] properties)
Parameters
Type | Name | Description |
---|---|---|
CoderPropID[] | propIDs | |
System.Object[] | properties |
SetTrainSize(UInt32)
Declaration
public void SetTrainSize(uint trainSize)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | trainSize |
WriteCoderProperties(Stream)
Declaration
public void WriteCoderProperties(Stream outStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | outStream |