• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpSevenZip
      • ArchiveFileInfo
      • ArchiveProperty
      • CompressionLevel
      • CompressionMethod
      • CompressionMode
      • EventSynchronizationStrategy
      • ExtractFileCallback
      • ICancellable
      • InArchiveFormat
      • LibraryFeature
      • OperationResult
      • OutArchiveFormat
      • SfxModule
      • SharpSevenZipArchiveFormat
      • SharpSevenZipBase
      • SharpSevenZipCompressor
      • SharpSevenZipExtractor
      • SharpSevenZipSfx
      • StreamWithAttributes
      • ZipEncryptionMethod
    • SharpSevenZip.EventArguments
      • ExtractFileCallbackArgs
      • ExtractFileCallbackReason
      • FileInfoEventArgs
      • FileNameEventArgs
      • FileOverwriteEventArgs
      • IntEventArgs
      • OpenEventArgs
      • PercentDoneEventArgs
      • ProgressEventArgs
    • SharpSevenZip.Exceptions
      • CompressionFailedException
      • ExtractionFailedException
      • LzmaException
      • SharpSevenZipArchiveException
      • SharpSevenZipCompressionFailedException
      • SharpSevenZipException
      • SharpSevenZipExtractionFailedException
      • SharpSevenZipInvalidFileNamesException
      • SharpSevenZipLibraryException
      • SharpSevenZipSfxValidationException
    • SharpSevenZip.Lzma
      • LzmaDecodeStream
      • LzmaEncodeStream
    • SharpSevenZip.Sdk
      • CoderPropId
      • ICodeProgress
      • ICoder
    • SharpSevenZip.Sdk.Compression.Lzma
      • Decoder
      • Encoder

    Class Encoder

    The LZMA encoder class

    Inheritance
    object
    Encoder
    Implements
    ICoder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SharpSevenZip.Sdk.Compression.Lzma
    Assembly: SharpSevenZip.dll
    Syntax
    public class Encoder : ICoder

    Constructors

    | Edit this page View Source

    Encoder()

    Initializes a new instance of the Encoder class

    Declaration
    public Encoder()

    Methods

    | Edit this page View Source

    Code(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

    | Edit this page View Source

    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

    | Edit this page View Source

    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.

    Implements

    ICoder
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (C) Markovtsev Vadim 2009, 2010, Jérémy Ansel 2024