Method CompressString
CompressString(String)
Compresses the
Declaration
public static byte[] CompressString(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
System.Byte[] |
CompressString(String, CompressionLevel)
Compresses the compressionMode
.
Declaration
public static byte[] CompressString(string value, CompressionLevel compressionMode)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | |
CompressionLevel | compressionMode |
Returns
Type | Description |
---|---|
System.Byte[] |