Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.Utilities.Compression Class Reference

Compression library for byte arrays More...

Static Public Member Functions

static byte[] Decompress (this byte[] data)
 Decompresses bytes More...
 
static string DecompressToString (this byte[] data)
 Decompresses bytes to a string More...
 
static string DecompressToString (this string base64String)
 Decompresses a base64 string to a string More...
 
static byte[] Compress (this byte[] data)
 Compresses bytes More...
 
static byte[] Compress (this string s)
 Compresses a string to bytes More...
 
static string CompressToBase64String (this string s)
 Compresses a string to base 64 More...
 

Detailed Description

Compression library for byte arrays

Member Function Documentation

◆ Compress() [1/2]

static byte [] Sphyrnidae.Common.Utilities.Compression.Compress ( this byte[]  data)
static

Compresses bytes

Parameters
dataThe bytes being compressed
Returns
The compressed bytes

◆ Compress() [2/2]

static byte [] Sphyrnidae.Common.Utilities.Compression.Compress ( this string  s)
static

Compresses a string to bytes

Parameters
sThe string being compressed
Returns
The compressed bytes

◆ CompressToBase64String()

static string Sphyrnidae.Common.Utilities.Compression.CompressToBase64String ( this string  s)
static

Compresses a string to base 64

Parameters
sThe string being compressed
Returns
The compressed base 64 string

◆ Decompress()

static byte [] Sphyrnidae.Common.Utilities.Compression.Decompress ( this byte[]  data)
static

Decompresses bytes

Parameters
dataThe bytes being decompressed
Returns
The decompressed bytes

◆ DecompressToString() [1/2]

static string Sphyrnidae.Common.Utilities.Compression.DecompressToString ( this byte[]  data)
static

Decompresses bytes to a string

Parameters
dataThe bytes being decompressed
Returns
The decompressed string

◆ DecompressToString() [2/2]

static string Sphyrnidae.Common.Utilities.Compression.DecompressToString ( this string  base64String)
static

Decompresses a base64 string to a string

Parameters
base64StringThe base64 string being decompressed
Returns
The decompressed string

The documentation for this class was generated from the following file: