Method CompressStringToGZip
CompressStringToGZip(string, bool)
Compresses the string.
Declaration
public static string CompressStringToGZip(string text, bool includePrefix = false)
Parameters
Type | Name | Description |
---|---|---|
string | text | The text. |
bool | includePrefix | includes 'GZip' prefix to indicate that it's compressed base64 string |
Returns
Type | Description |
---|---|
string |