C-DEngine 5.105

TheCommonUtils..::..cdeCompressString Method

Compress a string to a byte array. Reverse the process by calling cdeDecompressToString.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static byte[] cdeCompressString(
	string sourceString
)
Public Shared Function cdeCompressString ( _
	sourceString As String _
) As Byte()
public:
static array<unsigned char^>^ cdeCompressString(
	String^ sourceString
)

Parameters

sourceString
Type: String
Input parameter - the string to compress.

Return Value

A byte array representing the compressed data.