Compress a string into a byte array using GZip.
| C# | Visual Basic | Visual C++ | F# |
public static byte[] CompressString( string s )
Public Shared Function CompressString ( s As String ) As Byte()
public: static array<unsigned char>^ CompressString( String^ s )
static member CompressString : s : string -> byte[]
- s (String)
- A string to compress. The string will first be encoded using UTF8, then compressed.
Uncompress it with UncompressString(array<Byte>[]()[][]).
Assembly: Keyoti3.RapidSpell.Silverlight (Module: Keyoti3.RapidSpell.Silverlight.dll) Version: 2.0.12.706 (2.0.12.706)