StringUtility.Compress method

Compresses a string.

public static byte[]? Compress(string? text)
parameter description
text The text.

Return Value

null if text is null, empty byte[] if text is empty, otherwise the compressed byte array.

See Also