Show / Hide Table of Contents

Class GZipConstants

This class contains constants used for gzip.

Inheritance
System.Object
GZipConstants
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ICSharpCode.SharpZipLib.GZip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public sealed class GZipConstants

Fields

| Improve this Doc View Source

CompressionMethodDeflate

Deflate compression method

Declaration
public const byte CompressionMethodDeflate = 8
Field Value
Type Description
System.Byte
| Improve this Doc View Source

ID1

First GZip identification byte

Declaration
public const byte ID1 = 31
Field Value
Type Description
System.Byte
| Improve this Doc View Source

ID2

Second GZip identification byte

Declaration
public const byte ID2 = 139
Field Value
Type Description
System.Byte

Properties

| Improve this Doc View Source

Encoding

Get the GZip specified encoding (CP-1252 if supported, otherwise ASCII)

Declaration
public static Encoding Encoding { get; }
Property Value
Type Description
System.Text.Encoding
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors