CompressString Method (s)

DotNetZip

Ionic Zip Library v1.9.1.6 CompressString Method (s)
ReferenceIonic.ZlibZlibStreamCompressString(String)
Compress a string into a byte array using ZLIB.
Declaration Syntax
C# Visual Basic Visual C++
public static byte[] CompressString(
	string s
)
Public Shared Function CompressString ( _
	s As String _
) As Byte()
public:
static array<unsigned char>^ CompressString(
	String^ s
)
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

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)