C# Class SnapDotNet.Azure.MobileService.Helpers.Compression.Gzip

Show file Open project: 0xdeafcafe/SnapDotNet

Public Methods

Method Description
Compress ( byte decompressedData ) : byte[]
CompressToString ( string decompressedData, Encoding encoding = null ) : byte[]
Decompress ( byte compressedData ) : byte[]
DecompressToString ( byte compressedData, Encoding encoding = null ) : string

Method Details

Compress() public static method

public static Compress ( byte decompressedData ) : byte[]
decompressedData byte
return byte[]

CompressToString() public static method

public static CompressToString ( string decompressedData, Encoding encoding = null ) : byte[]
decompressedData string
encoding System.Text.Encoding
return byte[]

Decompress() public static method

public static Decompress ( byte compressedData ) : byte[]
compressedData byte
return byte[]

DecompressToString() public static method

public static DecompressToString ( byte compressedData, Encoding encoding = null ) : string
compressedData byte
encoding System.Text.Encoding
return string