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 SourceCompressionMethodDeflate
Deflate compression method
Declaration
public const byte CompressionMethodDeflate = 8
Field Value
Type | Description |
---|---|
System.Byte |
ID1
First GZip identification byte
Declaration
public const byte ID1 = 31
Field Value
Type | Description |
---|---|
System.Byte |
ID2
Second GZip identification byte
Declaration
public const byte ID2 = 139
Field Value
Type | Description |
---|---|
System.Byte |
Properties
| Improve this Doc View SourceEncoding
Get the GZip specified encoding (CP-1252 if supported, otherwise ASCII)
Declaration
public static Encoding Encoding { get; }
Property Value
Type | Description |
---|---|
System.Text.Encoding |