Show / Hide Table of Contents

Enum Deflater.CompressionLevel

Compression Level as an enum for safer use

Namespace: ICSharpCode.SharpZipLib.Zip.Compression
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public enum CompressionLevel

Fields

Name Description
BEST_COMPRESSION

The best and slowest compression level. This tries to find very long and distant string repetitions.

BEST_SPEED

The worst but fastest compression level.

DEFAULT_COMPRESSION

The default compression level.

DEFLATED

The compression method. This is the only method supported so far. There is no need to use this constant at all.

NO_COMPRESSION

This level won't compress at all but output uncompressed blocks.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors