Ionic Zip Library v1.9.1.6
CompressString Method (s)
Reference ► Ionic.Zlib ► DeflateStream ► CompressString(String)
Compress a string into a byte array using DEFLATE (RFC 1951).
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>[]()[][]).
See Also