PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/Utilities/Compression/CompressionMethod.cs

#
C# | 40 lines | 8 code | 3 blank | 29 comment | 0 complexity | 98a567f5a223b634e1ec0fb320ef28f4 MD5 | raw file
Possible License(s): Apache-2.0
  1. // Based on Mike Krueger's SharpZipLib, Copyright (C) 2001 (GNU license).
  2. // Authors of the original java version: Jochen Hoenicke, John Leuner
  3. // See http://www.ISeeSharpCode.com for more information.
  4. namespace Delta.Utilities.Compression
  5. {
  6. /// <summary>
  7. /// The kind of compression used for an entry in an archive
  8. /// </summary>
  9. public enum CompressionMethod
  10. {
  11. /// <summary>
  12. /// A direct copy of the file contents is held in the archive.
  13. /// </summary>
  14. Stored = 0,
  15. /// <summary>
  16. /// Common Zip compression method using a sliding dictionary of up to
  17. /// 32KB and secondary compression from Huffman/Shannon-Fano trees.
  18. /// </summary>
  19. Deflated = 8,
  20. /*not supported yet
  21. /// <summary>
  22. /// An extension to deflate with a 64KB window. Not supported yet.
  23. /// </summary>
  24. Deflate64 = 9,
  25. /// <summary>
  26. /// Not supported yet.
  27. /// </summary>
  28. BZip2 = 11,
  29. /// <summary>
  30. /// WinZip special for AES encryption, Not supported yet.
  31. /// </summary>
  32. WinZipAes = 99,
  33. */
  34. }
  35. }