Namespace GlitchedPolygons.Services.CompressionUtility
Classes
BrotliUtility
Brotli implementation of the ICompressionUtility interface.
Implements the ICompressionUtility interface. ICompressionUtility
BrotliUtilityAsync
Brotli implementation of the ICompressionUtilityAsync interface.
Implements the ICompressionUtilityAsync interface. ICompressionUtilityAsync
GZipUtility
Compression utility class for gzipping data. Implements the ICompressionUtility interface.
GZipUtilityAsync
Compression utility class for gzipping data asynchronously. Implements the ICompressionUtility interface.
LzmaUtility
Compression utility class for LZMA'ing data. Implements the ICompressionUtility interface.
LzmaUtilityAsync
Compression utility class for LZMAing data using async/await. Uses Task.Run
to call the synchronous LZMA SDK:
Not the best thing to do, I know... But the LZMA SDK doesn't have an async API yet, and compression is usually a high-latency,
CPU bound op; that's why this deserves a dedicated thread via Task.Run
Implements the ICompressionUtilityAsync interface.
Structs
CompressionSettings
The compression relevant settings (such as buffer size, compression level, etc...).
Interfaces
ICompressionUtility
Useful utility interface for quickly and easily compressing/decompressing data.
ICompressionUtilityAsync
Useful utility interface for quickly and easily compressing/decompressing data using async/await.