Compress a string data to a byte array.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
Visual Basic |
---|
Public Shared Function Compress ( _ data As String _ ) As Byte() |
C# |
---|
public static byte[] Compress( string data ) |
Parameters
- data
- Type: System..::..String
String data to compress.