ZipConstants.ConvertToArray Method

SharpZip Compression Library

SharpZip Compression Library

ZipConstants.ConvertToArray Method 

Convert a string to a byte array

public static byte[] ConvertToArray(
   string str
);

Parameters

str
String to convert to an array

Return Value

Converted array

See Also

ZipConstants Class | ICSharpCode.SharpZipLib.Zip Namespace