logo
VitNX3 Documentation

# CompressAndDecompress Class

Namespace: VitNX3.Functions.Data
Assembly: VitNX3 (in VitNX3.dll)
Compress and decompress the text or byte[]. Examples: https://gist.github.com/Zalexanninev15/cbd4dde903095ca7a5e53c1fc6c42807
VB
C#
F#
C++
JScript
Copy

    public class CompressAndDecompress

    This language is not supported or no code example is available.

Methods

| Name | Description
--- | --- | ---
| BytesToString(byte[]) | Bytes the to string. Example: string output = Data.CompressAndDecompress.BytesToString(Data.CompressAndDecompress.DecompressBytes(compressed));
| CompressBytes(byte[]) | Compresses the bytes. Example: string output = Encoding.UTF8.GetString(Data.CompressAndDecompress.CompressBytes(Data.CompressAndDecompress.GetBytes(input)));
| DecompressBytes(byte[]) | Decompresses the bytes.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (inherited from Object).
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
| GetBytes(string) | Gets the bytes.
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object).
| GetType | Gets the Type of the current instance. (inherited from Object).
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object).
| ToString | Returns a string that represents the current object. (inherited from Object).

Top
Inheritance Hierarchy
System.Object
VitNX3.Functions.Data.CompressAndDecompress
Applies to

#### .NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

#### .NET Core

Supported in: 5.0+, 6.0+
See Also
VitNX3.Functions.Data Namespace