StringUtility.Decompress method

Decompresses a compressed string.

public static string? Decompress(byte[]? compressedText)
parameter description
compressedText The compressed string.

Return Value

null if compressedText is null, empty string if compressedText length is 0, otherwise the decompressed text.

Remarks

The compressed text should have been created with the Compress or CreateCompressingTextWriter methods.

See Also