C# Class AA2Install.GZip

Mostrar archivo Open project: aa2g/AA2Install

Public Methods

Method Description
CompressString ( string str ) : byte[]

Compresses a string in the UTF-8 format.

DecompressString ( byte bytes ) : string

Decompresses a string in the UTF-8 format.

Method Details

CompressString() public static method

Compresses a string in the UTF-8 format.
public static CompressString ( string str ) : byte[]
str string String to compress.
return byte[]

DecompressString() public static method

Decompresses a string in the UTF-8 format.
public static DecompressString ( byte bytes ) : string
bytes byte Array of compressed contents.
return string