ZipConstants.ConvertToString Method (Byte[], Int32)

SharpZip Compression Library

SharpZip Compression Library

ZipConstants.ConvertToString Method (Byte[], Int32)

Convert a portion of a byte array to a string.

public static string ConvertToString(
   byte[] data,
   int length
);

Parameters

data
Data to convert to string
length
Number of bytes to convert starting from index 0

Return Value

data[0]..data[length - 1] converted to a string

See Also

ZipConstants Class | ICSharpCode.SharpZipLib.Zip Namespace | ZipConstants.ConvertToString Overload List