Ionic Zip Library v1.9.1.6
CompressString Method (s)
Reference ► Ionic.Zlib ► GZipStream ► CompressString(String)
Compress a string into a byte array using GZip.
Declaration Syntax
Parameters
- s (String)
- A string to compress. The string will first be encoded using UTF8, then compressed.
Return Value
The string in compressed form
Remarks
Uncompress it with UncompressString(array<Byte>[]()[][]).