PowerUI.Compression.Compression Class Reference

Detailed Description

Various compression algorithms available for direct use. You can also delete the ones you don't want. Keep in mind that zlib is used by WOFF and brotli is used by WOFF2. Try Compression.Get("zlib").Decompress(aStream,aBlockOfBytes);

Static Public Member Functions

static bool Add (Type compressorType)
 Adds a compressor the global set. This is generally done automatically, but you can also add one manually if you wish. More...
 
static Compressor Get (string name)
 Attempts to find the named at rule, returning the global instance if it's found. More...
 

Static Public Attributes

static Dictionary< string,
Compressor
All
 All available compression types. e.g. 'zlib' or 'brotli' are available by default. More...
 

Member Function Documentation

static bool PowerUI.Compression.Compression.Add ( Type  compressorType)
inlinestatic

Adds a compressor the global set. This is generally done automatically, but you can also add one manually if you wish.

Parameters
compressorTypeThe type of the compressor to add.
Returns
True if adding it was successful.
static Compressor PowerUI.Compression.Compression.Get ( string  name)
inlinestatic

Attempts to find the named at rule, returning the global instance if it's found.

Parameters
nameThe rule to look for.
Returns
The global Compressor if the rule was found; Null otherwise.

Member Data Documentation

Dictionary<string,Compressor> PowerUI.Compression.Compression.All
static

All available compression types. e.g. 'zlib' or 'brotli' are available by default.