• 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 Decoder

    The LZMA decoder class

    Inheritance
    object
    Decoder
    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 Decoder : ICoder

    Constructors

    | Edit this page View Source

    Decoder()

    Initializes the Lzma Decoder class.

    Declaration
    public Decoder()

    Methods

    | Edit this page View Source

    Code(Stream, Stream, long, long, ICodeProgress?)

    Codes a stream with LZMA algorithm to an output 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

    Progress interface

    | Edit this page View Source

    SetDecoderProperties(byte[])

    Sets decoder properties

    Declaration
    public void SetDecoderProperties(byte[] properties)
    Parameters
    Type Name Description
    byte[] properties

    Array of byte properties

    | Edit this page View Source

    Train(Stream)

    Trains a stream

    Declaration
    public bool Train(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream to train.

    Returns
    Type Description
    bool

    true if Ok; otherwise, false.

    Implements

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