Class Compression
Collection of constants used across the project.
Inheritance
System.Object
Compression
Namespace:Mapbox.Utils
Assembly:Mapbox.Utils.dll
Syntax
public static class Compression : object
Methods
Decompress(Byte[])
Decompress the specified buffer previously compressed using GZip.
Declaration
public static byte[] Decompress(byte[] buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | buffer | The GZip'ed buffer. |
Returns
| Type | Description |
|---|---|
| System.Byte[] | Returns the uncompressed buffer or the buffer in case decompression is not possible. |