Interface ICoder
Stream coder interface
Namespace: SharpSevenZip.Sdk
Assembly: SharpSevenZip.dll
Syntax
public interface ICoder
Methods
| Edit this page View SourceCode(Stream, Stream, long, long, ICodeProgress)
Codes streams.
Declaration
void Code(Stream inStream, Stream outStream, long inSize, long outSize, ICodeProgress progress)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | inStream | input Stream. |
| Stream | outStream | output Stream. |
| long | inSize | input Size. -1 if unknown. |
| long | outSize | output Size. -1 if unknown. |
| ICodeProgress | progress | callback progress reference. |
Exceptions
| Type | Condition |
|---|---|
| DataErrorException | if input stream is not valid |